Patch to guarantee netlink msg when ipv6 addr is added.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ben Greear
Date: Wednesday, June 18, 2008 - 3:29 pm

Current 2.6.25.4 IPv6 code will not send netlink RTM_NEWADDR
messages when an IPv6 addr is added if the state is Tentative.

This makes it harder for user-space apps to keep up with what IPv6
addrs are configured on the system at any given time.

Attached is a patch to enable a sysctl to force the NEWADDR message
when an IPv6 addr is added, regardless of it's state.  A new message
will be sent later if the state changes from tentative.

This patch is against 2.6.25.4   If the IPv6 maintainers of this code
want to accept the patch, I'll be happy to diff it against whatever
tree is requested.

Comments are welcome.

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Patch to guarantee netlink msg when ipv6 addr is added., Ben Greear, (Wed Jun 18, 3:29 pm)