X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Ffib_rules.h;h=a5c6ccc5bb19411217c1b1dcf1abe528b81171c0;hb=3dbfd0801bbbaf2800d7497d83d743a614430e82;hp=34349f9f4331a1d81e22d65a848511f446eea226;hpb=6e5565f949af1322f8f3d3f43d044645ae448499;p=linux-2.6 diff --git a/include/net/fib_rules.h b/include/net/fib_rules.h index 34349f9f43..a5c6ccc5bb 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); }