Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264391
b: refs/heads/master
c: afaef73
h: refs/heads/master
i:
  264389: e8f96e9
  264387: cf091f2
  264383: 5086f7f
v: v3
  • Loading branch information
Yan, Zheng authored and David S. Miller committed Oct 19, 2011
1 parent 1cdfebb commit eb540da
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 1b23a3e3d1b969e285c57a2d38f3739283ecfb80
refs/heads/master: afaef734e5f0004916d07ecf7d86292cdd00d59b
5 changes: 4 additions & 1 deletion trunk/net/core/fib_rules.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,11 @@ static int fib_nl_delrule(struct sk_buff *skb, struct nlmsghdr* nlh, void *arg)

list_del_rcu(&rule->list);

if (rule->action == FR_ACT_GOTO)
if (rule->action == FR_ACT_GOTO) {
ops->nr_goto_rules--;
if (rtnl_dereference(rule->ctarget) == NULL)
ops->unresolved_rules--;
}

/*
* Check if this rule is a target to any of them. If so,
Expand Down

0 comments on commit eb540da

Please sign in to comment.