aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYan Zheng <yanzheng@21cn.com>2005-10-14 06:31:15 -0400
committerArnaldo Carvalho de Melo <acme@mandriva.com>2005-11-02 22:03:05 -0500
commit979ad663125af4be120697263038bb06ddbb83b4 (patch)
tree096b4f7abd60bbaf71bef8b2c182cda3970bb888
parentc75d721c761ad0f2d8725c40af9e4f376efefd24 (diff)
[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>
-rw-r--r--net/ipv6/addrconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 41edc14851e8..2c5f57299d63 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -2163,7 +2163,7 @@ static int addrconf_ifdown(struct net_device *dev, int how)
2163 2163
2164 /* Step 5: netlink notification of this interface */ 2164 /* Step 5: netlink notification of this interface */
2165 idev->tstamp = jiffies; 2165 idev->tstamp = jiffies;
2166 inet6_ifinfo_notify(RTM_NEWLINK, idev); 2166 inet6_ifinfo_notify(RTM_DELLINK, idev);
2167 2167
2168 /* Shot the device (if unregistered) */ 2168 /* Shot the device (if unregistered) */
2169 2169