Browse Source

[IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown

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>
Yan Zheng 20 years ago
parent
commit
979ad66312
1 changed files with 1 additions and 1 deletions
  1. 1 1
      net/ipv6/addrconf.c

+ 1 - 1
net/ipv6/addrconf.c

@@ -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) */