[IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown
authorYan Zheng <yanzheng@21cn.com>
Fri, 14 Oct 2005 10:31:15 +0000 (18:31 +0800)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Thu, 3 Nov 2005 03:03:05 +0000 (01:03 -0200)
Signed-off-by: Yan Zheng <yanzheng@21cn.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/ipv6/addrconf.c

index 41edc14..2c5f572 100644 (file)
@@ -2163,7 +2163,7 @@ static int addrconf_ifdown(struct net_device *dev, int how)
 
        /* Step 5: netlink notification of this interface */
        idev->tstamp = jiffies;
-       inet6_ifinfo_notify(RTM_NEWLINK, idev);
+       inet6_ifinfo_notify(RTM_DELLINK, idev);
        
        /* Shot the device (if unregistered) */