diff --git a/[refs] b/[refs] index 3c6c89041cc4..22a564b6a88a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1b23a3e3d1b969e285c57a2d38f3739283ecfb80 +refs/heads/master: afaef734e5f0004916d07ecf7d86292cdd00d59b diff --git a/trunk/net/core/fib_rules.c b/trunk/net/core/fib_rules.c index 3231b468bb72..27071ee2a4e1 100644 --- a/trunk/net/core/fib_rules.c +++ b/trunk/net/core/fib_rules.c @@ -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,