Skip to content

Commit

Permalink
[IPV6]: inet6_ifinfo_notify should use RTM_DELLINK in addrconf_ifdown
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yan Zheng authored and Arnaldo Carvalho de Melo committed Nov 3, 2005
1 parent c75d721 commit 979ad66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) */

Expand Down

0 comments on commit 979ad66

Please sign in to comment.