summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorRichard Gobert <richardbgobert@gmail.com>2022-09-11 20:48:49 +0200
committerPaolo Abeni <pabeni@redhat.com>2022-09-20 11:47:25 +0200
commitcb628a9a7ef6f101b37a0d1eaa689a9650c4903b (patch)
tree99fb06712bb3427b18f708a67d4d18392398ee29 /net/ipv6
parentnet/mlx5e: Ensure macsec_rule is always initiailized in macsec_fs_{r,t}x_add_... (diff)
downloadlinux-cb628a9a7ef6f101b37a0d1eaa689a9650c4903b.tar.xz
linux-cb628a9a7ef6f101b37a0d1eaa689a9650c4903b.zip
net-next: gro: Fix use of skb_gro_header_slow
In the cited commit, the function ipv6_gro_receive was accidentally changed to use skb_gro_header_slow, without attempting the fast path. Fix it. Fixes: 35ffb6654729 ("net: gro: skb_gro_header helper function") Signed-off-by: Richard Gobert <richardbgobert@gmail.com> Link: https://lore.kernel.org/r/20220911184835.GA105063@debian Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/ip6_offload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_offload.c b/net/ipv6/ip6_offload.c
index d37a8c97e6de..f00fd67fd0c4 100644
--- a/net/ipv6/ip6_offload.c
+++ b/net/ipv6/ip6_offload.c
@@ -219,7 +219,7 @@ INDIRECT_CALLABLE_SCOPE struct sk_buff *ipv6_gro_receive(struct list_head *head,
off = skb_gro_offset(skb);
hlen = off + sizeof(*iph);
- iph = skb_gro_header_slow(skb, hlen, off);
+ iph = skb_gro_header(skb, hlen, off);
if (unlikely(!iph))
goto out;