diff options
author | David S. Miller <davem@davemloft.net> | 2012-06-09 19:32:41 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-09 19:32:41 -0400 |
commit | 56a6b248eb345c1948ee60bf426de1ff7dd81509 (patch) | |
tree | 84748cfc069b11d6800b50e6ee71fa742a364c7b /net/ipv6/route.c | |
parent | c3426b47190d7c6785230c91a706fd42208b4120 (diff) |
inet: Consolidate inetpeer_invalidate_tree() interfaces.
We only need one interface for this operation, since we always know
which inetpeer root we want to flush.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
-rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 3e1e4e0da096..7f346d7492d2 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c | |||
@@ -3012,7 +3012,7 @@ static void __net_exit ipv6_inetpeer_exit(struct net *net) | |||
3012 | struct inet_peer_base *bp = net->ipv6.peers; | 3012 | struct inet_peer_base *bp = net->ipv6.peers; |
3013 | 3013 | ||
3014 | net->ipv6.peers = NULL; | 3014 | net->ipv6.peers = NULL; |
3015 | __inetpeer_invalidate_tree(bp); | 3015 | inetpeer_invalidate_tree(bp); |
3016 | kfree(bp); | 3016 | kfree(bp); |
3017 | } | 3017 | } |
3018 | 3018 | ||