Skip to contentSkip to conversation

net-next: gro: Fix use of skb_gro_header_slow

PATCH Applied Richard Gobert 2 participants 2 messages Sep 12, 2022 – Sep 20, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")
---
 net/ipv6/ip6_offload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/ipv6/ip6_offload.c +1 -1
index d37a8c97e6de..f00fd67fd0c4 100644
@@ -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;
 
Signature · 1 line
2.36.1
#1 lore raw
This patch was applied to netdev/net-next.git (master) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (master) by Paolo Abeni <[email protected]>:

Quoted 8 lines · On Sun, 11 Sep 2022 20:48:49 +0200 you wrote:

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")

[...]

Here is the summary with links:
- net-next: gro: Fix use of skb_gro_header_slow

    https://git.kernel.org/netdev/net-next/c/cb628a9a7ef6

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html