diff options
author | Florian Westphal | 2024-06-06 17:11:39 +0200 |
---|---|---|
committer | David S. Miller | 2024-06-10 11:54:18 +0100 |
commit | f81d0dd2fde35fd1acc30b3f4de6aaf57d514551 (patch) | |
tree | 65a7cdf0a2ec301fd35f3ae255c8e40658a98202 /net/ipv4 | |
parent | c75ad7c759ccead1be462d4cec42bd4ad3578989 (diff) |
tcp: move inet_twsk_schedule helper out of header
Its no longer used outside inet_timewait_sock.c, so move it there.
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/inet_timewait_sock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ipv4/inet_timewait_sock.c b/net/ipv4/inet_timewait_sock.c index b2d97c816c99..337390ba85b4 100644 --- a/net/ipv4/inet_timewait_sock.c +++ b/net/ipv4/inet_timewait_sock.c @@ -92,6 +92,11 @@ static void inet_twsk_add_node_rcu(struct inet_timewait_sock *tw, hlist_nulls_add_head_rcu(&tw->tw_node, list); } +static void inet_twsk_schedule(struct inet_timewait_sock *tw, int timeo) +{ + __inet_twsk_schedule(tw, timeo, false); +} + /* * Enter the time wait state. * Essentially we whip up a timewait bucket, copy the relevant info into it |