]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tcp: use MAX_TCP_HEADER in tcp_stream_alloc_skb
authorEric Dumazet <edumazet@google.com>
Mon, 25 Oct 2021 22:13:41 +0000 (15:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Oct 2021 13:45:12 +0000 (14:45 +0100)
commit8a794df69300cf2f889b4f02ada9c54baa9bca91
tree633e9f453e19ecc8aaab0ba4620b62c5d19fbfd9
parentf8dd3b8d70206a0d427ffb0aada6dcada1cf3720
tcp: use MAX_TCP_HEADER in tcp_stream_alloc_skb

Both IPv4 and IPv6 uses same reserve, no need risking
cache line misses to fetch its value.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c