Skip to content

Commit

Permalink
net-next: gro: Fix use of skb_gro_header_slow
Browse files Browse the repository at this point in the history
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: 35ffb66 ("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>
  • Loading branch information
Richard Gobert authored and Paolo Abeni committed Sep 20, 2022
1 parent 2e50e9b commit cb628a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv6/ip6_offload.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit cb628a9

Please sign in to comment.