提交 979ad663 编写于 作者: Y Yan Zheng 提交者: Arnaldo Carvalho de Melo

[IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown

Signed-off-by: NYan Zheng <yanzheng@21cn.com>
Acked-by: NYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册