Stephen Hemminger <[email protected]> writes: > I think this fixes the issue with disable_ipv6
Somehow I doubt deleting the ipv6 state, and removing the per device disable_ipv6 flag is going to be backwards compatible. echo 0 > /proc/sys/net/ipv6/conf/disable_ipv6 Won't work. What ever other good properties calling NETDEV_UNREGISTER for ipv6 devices may have. Eric > --- a/net/ipv6/addrconf.c 2011-01-23 20:30:25.897243002 +1100 > +++ b/net/ipv6/addrconf.c 2011-01-23 20:30:41.161243002 +1100 > @@ -4197,7 +4197,7 @@ static void dev_disable_change(struct in > return; > > if (idev->cnf.disable_ipv6) > - addrconf_notify(NULL, NETDEV_DOWN, idev->dev); > + addrconf_notify(NULL, NETDEV_UNREGISTER, idev->dev); > else > addrconf_notify(NULL, NETDEV_UP, idev->dev); > } _______________________________________________ stable mailing list [email protected] http://linux.kernel.org/mailman/listinfo/stable
