mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 20:51:44 +00:00
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: 35ffb66547
("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>
This commit is contained in:
parent
2e50e9bf32
commit
cb628a9a7e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user