Message ID | 20220911184835.GA105063@debian (mailing list archive) |
---|---|
State | Accepted |
Commit | cb628a9a7ef6f101b37a0d1eaa689a9650c4903b |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net-next: gro: Fix use of skb_gro_header_slow | expand |
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!
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;
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(-)