]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] pv6: track device renames in snmp6
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 27 Apr 2007 18:17:57 +0000 (11:17 -0700)
committerChris Wright <chrisw@sous-sol.org>
Mon, 11 Jun 2007 18:37:07 +0000 (11:37 -0700)
commite17088e535b5be4184e3d43cb8720f56a298b0c3
tree205418fb32537922b6d481110814ff9be938675f
parentb6542acb6d675b41f4a96576cae4f88fd1bc8c47
[PATCH] pv6: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv6/addrconf.c
net/ipv6/proc.c