Re: [stable] [PATCH] ipv6: track device renames in snmp6

2007-04-27 Thread Stephen Hemminger
That patch I sent was against 2.6.21, but both 2.6.20 and 2.6.21 have the problem. Here is a version for 2.6.20. = 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

Re: [stable] [PATCH] ipv6: track device renames in snmp6

2007-04-26 Thread Greg KH
On Thu, Apr 26, 2007 at 04:42:47PM -0700, Stephen Hemminger wrote: > 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. >

[PATCH] ipv6: track device renames in snmp6

2007-04-26 Thread Stephen Hemminger
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 <[EMAIL PROTECTED]> --- net/ipv6/addrconf.c