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 /include/net/inetpeer.h | |
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 'include/net/inetpeer.h')
-rw-r--r-- | include/net/inetpeer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/inetpeer.h b/include/net/inetpeer.h index 5a96c8edc526..733edc641b76 100644 --- a/include/net/inetpeer.h +++ b/include/net/inetpeer.h | |||
@@ -113,8 +113,7 @@ static inline struct inet_peer *inet_getpeer_v6(struct net *net, | |||
113 | extern void inet_putpeer(struct inet_peer *p); | 113 | extern void inet_putpeer(struct inet_peer *p); |
114 | extern bool inet_peer_xrlim_allow(struct inet_peer *peer, int timeout); | 114 | extern bool inet_peer_xrlim_allow(struct inet_peer *peer, int timeout); |
115 | 115 | ||
116 | extern void __inetpeer_invalidate_tree(struct inet_peer_base *); | 116 | extern void inetpeer_invalidate_tree(struct inet_peer_base *); |
117 | extern void inetpeer_invalidate_tree(struct net *net, int family); | ||
118 | 117 | ||
119 | /* | 118 | /* |
120 | * temporary check to make sure we dont access rid, ip_id_count, tcp_ts, | 119 | * temporary check to make sure we dont access rid, ip_id_count, tcp_ts, |