]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/net/fib_rules.h
md: support blocking writes to an array on device failure
[linux-2.6-omap-h63xx.git] / include / net / fib_rules.h
index 34349f9f4331a1d81e22d65a848511f446eea226..a5c6ccc5bb19411217c1b1dcf1abe528b81171c0 100644 (file)
@@ -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);
 }