All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] tcp: tcp_stream_alloc_skb() changes
@ 2021-10-25 22:13 Eric Dumazet
  2021-10-25 22:13 ` [PATCH net-next 1/3] tcp: rename sk_stream_alloc_skb Eric Dumazet
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Eric Dumazet @ 2021-10-25 22:13 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski
  Cc: netdev, Soheil Hassas Yeganeh, Eric Dumazet, Eric Dumazet

From: Eric Dumazet <edumazet@google.com>

sk_stream_alloc_skb() is only used by TCP.

Rename it to tcp_stream_alloc_skb() and apply small
optimizations.

Eric Dumazet (3):
  tcp: rename sk_stream_alloc_skb
  tcp: use MAX_TCP_HEADER in tcp_stream_alloc_skb
  tcp: remove unneeded code from tcp_stream_alloc_skb()

 include/net/sock.h    |  3 ---
 include/net/tcp.h     |  2 ++
 net/ipv4/tcp.c        | 19 ++++++++-----------
 net/ipv4/tcp_output.c | 10 +++++-----
 4 files changed, 15 insertions(+), 19 deletions(-)

-- 
2.33.0.1079.g6e70778dc9-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-10-26 14:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-25 22:13 [PATCH net-next 0/3] tcp: tcp_stream_alloc_skb() changes Eric Dumazet
2021-10-25 22:13 ` [PATCH net-next 1/3] tcp: rename sk_stream_alloc_skb Eric Dumazet
2021-10-25 23:10   ` Soheil Hassas Yeganeh
2021-10-25 22:13 ` [PATCH net-next 2/3] tcp: use MAX_TCP_HEADER in tcp_stream_alloc_skb Eric Dumazet
2021-10-25 23:09   ` Soheil Hassas Yeganeh
2021-10-25 22:13 ` [PATCH net-next 3/3] tcp: remove unneeded code from tcp_stream_alloc_skb() Eric Dumazet
2021-10-25 23:09   ` Soheil Hassas Yeganeh
2021-10-26 14:00 ` [PATCH net-next 0/3] tcp: tcp_stream_alloc_skb() changes patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.