Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264064
b: refs/heads/master
c: 561dac2
h: refs/heads/master
v: v3
  • Loading branch information
Gao feng authored and David S. Miller committed Sep 21, 2011
1 parent 5d7ea9b commit 45b1df5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: b811ce9104a7f7663ddae4f7795a194a103b8f90
refs/heads/master: 561dac2d410ffac0b57a23b85ae0a623c1a076ca
4 changes: 2 additions & 2 deletions trunk/net/core/fib_rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@ static int fib_nl_newrule(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg)
*/
list_for_each_entry(r, &ops->rules_list, list) {
if (r->action == FR_ACT_GOTO &&
r->target == rule->pref) {
BUG_ON(rtnl_dereference(r->ctarget) != NULL);
r->target == rule->pref &&
rtnl_dereference(r->ctarget) == NULL) {
rcu_assign_pointer(r->ctarget, rule);
if (--ops->unresolved_rules == 0)
break;
Expand Down

0 comments on commit 45b1df5

Please sign in to comment.