aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inetpeer.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/inetpeer.c')
-rw-r--r--net/ipv4/inetpeer.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c
index d0d72f89b279..9d89a381f0e1 100644
--- a/net/ipv4/inetpeer.c
+++ b/net/ipv4/inetpeer.c
@@ -564,7 +564,7 @@ static void inetpeer_inval_rcu(struct rcu_head *head)
564 schedule_delayed_work(&gc_work, gc_delay); 564 schedule_delayed_work(&gc_work, gc_delay);
565} 565}
566 566
567void __inetpeer_invalidate_tree(struct inet_peer_base *base) 567void inetpeer_invalidate_tree(struct inet_peer_base *base)
568{ 568{
569 struct inet_peer *old, *new, *prev; 569 struct inet_peer *old, *new, *prev;
570 570
@@ -585,12 +585,4 @@ void __inetpeer_invalidate_tree(struct inet_peer_base *base)
585out: 585out:
586 write_sequnlock_bh(&base->lock); 586 write_sequnlock_bh(&base->lock);
587} 587}
588EXPORT_SYMBOL(__inetpeer_invalidate_tree);
589
590void inetpeer_invalidate_tree(struct net *net, int family)
591{
592 struct inet_peer_base *base = family_to_base(net, family);
593
594 __inetpeer_invalidate_tree(base);
595}
596EXPORT_SYMBOL(inetpeer_invalidate_tree); 588EXPORT_SYMBOL(inetpeer_invalidate_tree);