Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75609
b: refs/heads/master
c: bd566e7
h: refs/heads/master
i:
  75607: e5f56e2
v: v3
  • Loading branch information
Joonwoo Park authored and David S. Miller committed Jan 21, 2008
1 parent fd33502 commit 9e17afb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3652b2dc5ec6ccd946ae9136b30c6babb81305a
refs/heads/master: bd566e7525b5986864e8d6eb5b67640abcd284a9
3 changes: 3 additions & 0 deletions trunk/net/ipv4/fib_hash.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,9 @@ static int fn_hash_insert(struct fib_table *tb, struct fib_config *cfg)
struct fib_info *fi_drop;
u8 state;

if (fi->fib_treeref > 1)
goto out;

write_lock_bh(&fib_hash_lock);
fi_drop = fa->fa_info;
fa->fa_info = fi;
Expand Down

0 comments on commit 9e17afb

Please sign in to comment.