From: Yan Zheng Date: Fri, 14 Oct 2005 10:31:15 +0000 (+0800) Subject: [IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown X-Git-Tag: v2.6.15-rc1~45^2~30^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=979ad663125af4be120697263038bb06ddbb83b4;p=platform%2Fkernel%2Flinux-3.10.git [IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown Signed-off-by: Yan Zheng Acked-by: YOSHIFUJI Hideaki Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 41edc14..2c5f572 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) /* 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) */