Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223633
b: refs/heads/master
c: 29ba5fe
h: refs/heads/master
i:
  223631: f81d59f
v: v3
  • Loading branch information
stephen hemminger authored and David S. Miller committed Dec 17, 2010
1 parent d64a53f commit 15e4bbc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7d743b7e952261f4d9ee091100b6403f3ce8a2af
refs/heads/master: 29ba5fed1bbd09c2cba890798c8f9eaab251401d
4 changes: 3 additions & 1 deletion trunk/net/ipv6/addrconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,9 @@ static int addrconf_ifdown(struct net_device *dev, int how)

ASSERT_RTNL();

rt6_ifdown(net, dev);
/* Flush routes if device is being removed or it is not loopback */
if (how || !(dev->flags & IFF_LOOPBACK))
rt6_ifdown(net, dev);
neigh_ifdown(&nd_tbl, dev);

idev = __in6_dev_get(dev);
Expand Down

0 comments on commit 15e4bbc

Please sign in to comment.