Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 75610
b: refs/heads/master
c: 6725033
h: refs/heads/master
v: v3
  • Loading branch information
Joonwoo Park authored and David S. Miller committed Jan 21, 2008
1 parent 9e17afb commit da4f429
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: bd566e7525b5986864e8d6eb5b67640abcd284a9
refs/heads/master: 6725033fa27c8f49e1221d2badbaaaf1ef459519
3 changes: 3 additions & 0 deletions trunk/net/ipv4/fib_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -1214,6 +1214,9 @@ static int fn_trie_insert(struct fib_table *tb, struct fib_config *cfg)
struct fib_info *fi_drop;
u8 state;

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

err = -ENOBUFS;
new_fa = kmem_cache_alloc(fn_alias_kmem, GFP_KERNEL);
if (new_fa == NULL)
Expand Down

0 comments on commit da4f429

Please sign in to comment.