diff options
author | Eric Dumazet <edumazet@google.com> | 2021-10-27 13:19:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-28 12:44:38 +0100 |
commit | 27728ba80f1eb279b209bbd5922fdeebe52d9e30 (patch) | |
tree | 267ae3ab21c96c03ec52384c399cb3187c3742c1 /include/net/tcp.h | |
parent | 3ded97bc41a1e76e1e72eeb192331c01ceacc4bc (diff) | |
download | linux-27728ba80f1eb279b209bbd5922fdeebe52d9e30.tar.bz2 |
tcp: cleanup tcp_remove_empty_skb() use
All tcp_remove_empty_skb() callers now use tcp_write_queue_tail()
for the skb argument, we can therefore factorize code.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 701587af6852..8e8c5922a7b0 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -311,7 +311,7 @@ void tcp_shutdown(struct sock *sk, int how); int tcp_v4_early_demux(struct sk_buff *skb); int tcp_v4_rcv(struct sk_buff *skb); -void tcp_remove_empty_skb(struct sock *sk, struct sk_buff *skb); +void tcp_remove_empty_skb(struct sock *sk); int tcp_v4_tw_remember_stamp(struct inet_timewait_sock *tw); int tcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t size); int tcp_sendmsg_locked(struct sock *sk, struct msghdr *msg, size_t size); |