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>
This commit is contained in:
parent
c3426b4719
commit
56a6b248eb
4 changed files with 5 additions and 14 deletions
|
|
@ -113,8 +113,7 @@ static inline struct inet_peer *inet_getpeer_v6(struct net *net,
|
|||
extern void inet_putpeer(struct inet_peer *p);
|
||||
extern bool inet_peer_xrlim_allow(struct inet_peer *peer, int timeout);
|
||||
|
||||
extern void __inetpeer_invalidate_tree(struct inet_peer_base *);
|
||||
extern void inetpeer_invalidate_tree(struct net *net, int family);
|
||||
extern void inetpeer_invalidate_tree(struct inet_peer_base *);
|
||||
|
||||
/*
|
||||
* temporary check to make sure we dont access rid, ip_id_count, tcp_ts,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue