X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fnet%2Ffib_rules.h;h=a5c6ccc5bb19411217c1b1dcf1abe528b81171c0;hb=ee5c2ab09b79d3aba3515a3eae7c5cf1e2cbc569;hp=34349f9f4331a1d81e22d65a848511f446eea226;hpb=877c357e7511395bc923ec9efc2e8b021a17ed79;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); }