[PATCH] ipv6: track device renames in snmp6
commit55c2dacf601472524839376e2864c61fd8b9e0bd
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 26 Apr 2007 23:42:47 +0000 (26 16:42 -0700)
committerChris Wright <chrisw@sous-sol.org>
Wed, 23 May 2007 21:32:40 +0000 (23 14:32 -0700)
treeddbb24915fb32c7de9edba501de090a499c8f2bb
parent8d8b10482fffcb72b15515231bb942e2ad6395c9
[PATCH] ipv6: track device renames in snmp6

When network device's are renamed, the IPV6 snmp6 code
gets confused. It doesn't track name changes so it will OOPS
when network device's are removed.

The fix is trivial, just unregister/re-register in notify handler.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
net/ipv6/addrconf.c
net/ipv6/proc.c