[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>
This commit is contained in:
parent
c75d721c76
commit
979ad66312
@ -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) */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user