RTM_CHGADDRATTR try 2

2018-07-12 Thread Florian Obser
When I sent this around in april it still needed the kernel lock which made it fuggly... Now the netlock is enough. Introduce RTM_CHGADDRATTR to inform userland on the route socket when an attribute of an address is changed. For now it's used when IPv6 duplicate address detection finishes.

Re: RTM_CHGADDRATTR

2018-04-25 Thread Peter Hessler
it can't be helped :> for now. :> :> Comments, OKs? : :Theo points out that I suck at naming things. I guess we already knew :that. : :How about RTM_CHGADDRATTR, we are changing the attribute of an :address. Also fixes a tab vs. space in previous. : this looks fine, OK :diff --g

Re: RTM_CHGADDRATTR

2018-04-25 Thread Florian Obser
big fan of the lock/unlock dance but I guess it can't be helped > > for now. > > > > Comments, OKs? > > Theo points out that I suck at naming things. I guess we already knew > that. > > How about RTM_CHGADDRATTR, we are changing the attribute of an >

RTM_CHGADDRATTR: route(8)

2018-04-18 Thread Florian Obser
onal forwarding detection", - "RTM_PROPOSAL: config proposal" + "RTM_PROPOSAL: config proposal", + "RTM_CHGADDRATTR: address attributes being changed" }; char metricnames[] = @@ -1328,6 +1329,7 @@ print_rtmsg(struct rt_msghdr *rtm, int msglen)

RTM_CHGADDRATTR

2018-04-18 Thread Florian Obser
out that I suck at naming things. I guess we already knew that. How about RTM_CHGADDRATTR, we are changing the attribute of an address. Also fixes a tab vs. space in previous. diff --git net/route.h net/route.h index 3c89348cb43..5fa12578e45 100644 --- net/route.h +++ net/route.h @@ -241,6