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>
diff --git a/net/ipv6/route.c b/net/ipv6/route.c
index 3e1e4e0..7f346d7 100644
--- a/net/ipv6/route.c
+++ b/net/ipv6/route.c
@@ -3012,7 +3012,7 @@
struct inet_peer_base *bp = net->ipv6.peers;
net->ipv6.peers = NULL;
- __inetpeer_invalidate_tree(bp);
+ inetpeer_invalidate_tree(bp);
kfree(bp);
}