Skip to content

Commit cb628a9

Browse files
Richard GobertPaolo Abeni
authored andcommitted
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: 35ffb66 ("net: gro: skb_gro_header helper function") Signed-off-by: Richard Gobert <[email protected]> Link: https://lore.kernel.org/r/20220911184835.GA105063@debian Signed-off-by: Paolo Abeni <[email protected]>
1 parent 2e50e9b commit cb628a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv6/ip6_offload.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ INDIRECT_CALLABLE_SCOPE struct sk_buff *ipv6_gro_receive(struct list_head *head,
219219

220220
off = skb_gro_offset(skb);
221221
hlen = off + sizeof(*iph);
222-
iph = skb_gro_header_slow(skb, hlen, off);
222+
iph = skb_gro_header(skb, hlen, off);
223223
if (unlikely(!iph))
224224
goto out;
225225

0 commit comments

Comments
 (0)