]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[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 41edc14851e882f86b84b720a28ae2395d8c432f..2c5f57299d63b1f2badbd056286513f7ef51e646 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) */