ipv6: tcp: consistently use MAX_TCP_HEADER
authorEric Dumazet <edumazet@google.com>
Tue, 22 Feb 2022 03:11:15 +0000 (19:11 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Feb 2022 01:27:18 +0000 (17:27 -0800)
commit0ebea8f9b81cc02bbef2ec720a4c19e841c03217
tree9a32f2aa2263fa6cac094ac0940fe7436ec98923
parentf64ae40de5efaa33c36f4e2226b33824ba1b42a7
ipv6: tcp: consistently use MAX_TCP_HEADER

All other skbs allocated for TCP tx are using MAX_TCP_HEADER already.

MAX_HEADER can be too small for some cases (like eBPF based encapsulation),
so this can avoid extra pskb_expand_head() in lower stacks.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20220222031115.4005060-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/tcp_ipv6.c