summaryrefslogtreecommitdiffstats
path: root/net/core/gro.c
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-05-02 21:05:13 +0200
committerJakub Kicinski <kuba@kernel.org>2024-05-02 21:06:25 +0200
commite958da0ddbe831197a0023251880a4a09d5ba268 (patch)
treeeacded26f9563064a44fd1afe730493898adadb9 /net/core/gro.c
parentMerge branch 'bnxt_en-updates-for-net-next' (diff)
parentMerge tag 'net-6.9-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netd... (diff)
downloadlinux-e958da0ddbe831197a0023251880a4a09d5ba268.tar.xz
linux-e958da0ddbe831197a0023251880a4a09d5ba268.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR. Conflicts: include/linux/filter.h kernel/bpf/core.c 66e13b615a0c ("bpf: verifier: prevent userspace memory access") d503a04f8bc0 ("bpf: Add support for certain atomics in bpf_arena to x86 JIT") https://lore.kernel.org/all/20240429114939.210328b0@canb.auug.org.au/ No adjacent changes. Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/gro.c')
-rw-r--r--net/core/gro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/gro.c b/net/core/gro.c
index 2459ab697f7f..99a45a5211c9 100644
--- a/net/core/gro.c
+++ b/net/core/gro.c
@@ -372,6 +372,7 @@ static inline void skb_gro_reset_offset(struct sk_buff *skb, u32 nhoff)
const skb_frag_t *frag0;
unsigned int headlen;
+ NAPI_GRO_CB(skb)->network_offset = 0;
NAPI_GRO_CB(skb)->data_offset = 0;
headlen = skb_headlen(skb);
NAPI_GRO_CB(skb)->frag0 = skb->data;