diff options
author | Denis V. Lunev <den@openvz.org> | 2008-04-16 02:01:56 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-16 02:01:56 -0700 |
commit | 3661a910836a509be65afc3c1e512d900e1280f9 (patch) | |
tree | e3b0dee72a200f0214cfe359f66f977cf01b5ec2 /include/net/fib_rules.h | |
parent | 48115becf6ad9c0e700ff7c1792b7f2a288ef8fb (diff) | |
download | linux-stable-3661a910836a509be65afc3c1e512d900e1280f9.tar.gz linux-stable-3661a910836a509be65afc3c1e512d900e1280f9.tar.bz2 linux-stable-3661a910836a509be65afc3c1e512d900e1280f9.zip |
[NETNS]: Add netns refcnt debug to fib rules.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/fib_rules.h')
-rw-r--r-- | include/net/fib_rules.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index 34349f9f4331..a5c6ccc5bb19 100644 --- a/include/net/fib_rules.h +++ b/include/net/fib_rules.h @@ -87,6 +87,7 @@ static inline void fib_rule_get(struct fib_rule *rule) static inline void fib_rule_put_rcu(struct rcu_head *head) { struct fib_rule *rule = container_of(head, struct fib_rule, rcu); + release_net(rule->fr_net); kfree(rule); } |