netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net-next: gro: Fix use of skb_gro_header_slow
@ 2022-09-11 18:48 Richard Gobert
  2022-09-20 10:00 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Gobert @ 2022-09-11 18:48 UTC (permalink / raw)
  To: davem, yoshfuji, dsahern, edumazet, kuba, pabeni, netdev

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>
---
 net/ipv6/ip6_offload.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net-next: gro: Fix use of skb_gro_header_slow
  2022-09-11 18:48 [PATCH] net-next: gro: Fix use of skb_gro_header_slow Richard Gobert
@ 2022-09-20 10:00 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-09-20 10:00 UTC (permalink / raw)
  To: Richard Gobert; +Cc: davem, yoshfuji, dsahern, edumazet, kuba, pabeni, netdev

Hello:

This patch was applied to netdev/net-next.git (master)
by Paolo Abeni <pabeni@redhat.com>:

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")
> Signed-off-by: Richard Gobert <richardbgobert@gmail.com>
> 
> [...]

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!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-20 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-11 18:48 [PATCH] net-next: gro: Fix use of skb_gro_header_slow Richard Gobert
2022-09-20 10:00 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).