Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360825
b: refs/heads/master
c: 3e8b0ac
h: refs/heads/master
i:
  360823: 77a6e85
v: v3
  • Loading branch information
Lorenzo Colitti authored and David S. Miller committed Mar 4, 2013
1 parent ad8a44f commit 4ef49bb
Show file tree
Hide file tree
Showing 2 changed files with 3 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: de5fb0a053482d89262c3284b67884cd2c621adc
refs/heads/master: 3e8b0ac3e41e3c882222a5522d5df7212438ab51
3 changes: 2 additions & 1 deletion trunk/net/ipv6/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -1915,7 +1915,8 @@ void rt6_purge_dflt_routers(struct net *net)
restart:
read_lock_bh(&table->tb6_lock);
for (rt = table->tb6_root.leaf; rt; rt = rt->dst.rt6_next) {
if (rt->rt6i_flags & (RTF_DEFAULT | RTF_ADDRCONF)) {
if (rt->rt6i_flags & (RTF_DEFAULT | RTF_ADDRCONF) &&
(!rt->rt6i_idev || rt->rt6i_idev->cnf.accept_ra != 2)) {
dst_hold(&rt->dst);
read_unlock_bh(&table->tb6_lock);
ip6_del_rt(rt);
Expand Down

0 comments on commit 4ef49bb

Please sign in to comment.