diff options
author | Eric Dumazet <edumazet@google.com> | 2023-06-09 20:42:46 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-06-12 11:38:54 +0100 |
commit | 5882efff88aa7063ebdecd4ee92cc2cd1d0b3a8f (patch) | |
tree | cb4c097a4d86248bfcf0729e70bb9399794c27c3 /include/net/tcp.h | |
parent | b4a24397139cd943c8fa057c372f8a019e07168d (diff) |
tcp: remove size parameter from tcp_stream_alloc_skb()
Now all tcp_stream_alloc_skb() callers pass @size == 0, we can
remove this parameter.
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 f718ed258f07..bf9f56225821 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -350,7 +350,7 @@ void tcp_twsk_purge(struct list_head *net_exit_list, int family); ssize_t tcp_splice_read(struct socket *sk, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags); -struct sk_buff *tcp_stream_alloc_skb(struct sock *sk, int size, gfp_t gfp, +struct sk_buff *tcp_stream_alloc_skb(struct sock *sk, gfp_t gfp, bool force_schedule); void tcp_enter_quickack_mode(struct sock *sk, unsigned int max_quickacks); |