Commit 979ad663 authored by Yan Zheng's avatar Yan Zheng Committed by Arnaldo Carvalho de Melo

[IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown

Signed-off-by: default avatarYan Zheng <yanzheng@21cn.com>
Acked-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@mandriva.com>
parent c75d721c
...@@ -2163,7 +2163,7 @@ static int addrconf_ifdown(struct net_device *dev, int how) ...@@ -2163,7 +2163,7 @@ static int addrconf_ifdown(struct net_device *dev, int how)
/* Step 5: netlink notification of this interface */ /* Step 5: netlink notification of this interface */
idev->tstamp = jiffies; idev->tstamp = jiffies;
inet6_ifinfo_notify(RTM_NEWLINK, idev); inet6_ifinfo_notify(RTM_DELLINK, idev);
/* Shot the device (if unregistered) */ /* Shot the device (if unregistered) */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment