summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorAlice Mikityanska <alice@isovalent.com>2026-02-05 15:39:16 +0200
committerJakub Kicinski <kuba@kernel.org>2026-02-06 20:50:12 -0800
commit81be30c1f5f2bffda1f04c0efd0746af10b9643a (patch)
tree18c138e60c9063e0b89c7fe101902adccaf04ccb /net/core
parent741d069aa488866ae8425f87ad270ed3815ccaac (diff)
downloadlinux-next-81be30c1f5f2bffda1f04c0efd0746af10b9643a.tar.gz
linux-next-81be30c1f5f2bffda1f04c0efd0746af10b9643a.zip
net/ipv6: Drop HBH for BIG TCP on RX side
Complementary to the previous commit, stop inserting HBH when building BIG TCP GRO SKBs. Signed-off-by: Alice Mikityanska <alice@isovalent.com> Acked-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20260205133925.526371-4-alice.kernel@fastmail.im Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/gro.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/gro.c b/net/core/gro.c
index ef61695fbdbb..31d21de5b15a 100644
--- a/net/core/gro.c
+++ b/net/core/gro.c
@@ -115,8 +115,6 @@ int skb_gro_receive(struct sk_buff *p, struct sk_buff *skb)
if (unlikely(p->len + len >= GRO_LEGACY_MAX_SIZE)) {
if (NAPI_GRO_CB(skb)->proto != IPPROTO_TCP ||
- (p->protocol == htons(ETH_P_IPV6) &&
- skb_headroom(p) < sizeof(struct hop_jumbo_hdr)) ||
p->encapsulation)
return -E2BIG;
}