gro: refetch inet6_protos[] after pulling ext headers
Subsystems (2)
PATCH 1/1 gro: refetch inet6_protos[] after pulling ext headers
ipv6_gro_receive() doesn't update the protocol ops after pulling the ext headers. It looks like a typo.
Signed-off-by Zheng Yan <[email protected]>
---
net/ipv6/af_inet6.c +1 -0
@@ -875,6 +875,7 @@ static struct sk_buff **ipv6_gro_receive(struct sk_buff **head,skb_reset_transport_header (skb);__skb_push (skb,skb_gro_offset (skb)); + ops =rcu_dereference (inet6_protos[proto]);if (!ops || !ops->gro_receive) goto out_unlock;
Quoted 10 lines · Zheng
ipv6_gro_receive()doesn't update the protocol ops after pulling the ext headers. It looks like a typo.Signed-off-by Zheng Yan <[email protected]>---
net/ipv6/af_inet6.c +0
-0
net/ipv6/af_inet6.c static struct sk_buff **ipv6_gro_receive(struct sk_buff **head, · line 880
Quoted 6 lines
net/ipv6/af_inet6.c +1
-0@@ -875,6 +875,7 @@ static struct sk_buff **ipv6_gro_receive(struct sk_buff **head,skb_reset_transport_header (skb);__skb_push (skb,skb_gro_offset (skb)); + ops =rcu_dereference (inet6_protos[proto]);if (!ops || !ops->gro_receive) goto out_unlock;
Good catch !
Acked-by Eric Dumazet <[email protected]>
From: Eric Dumazet <[email protected]>
Date: Sun, 09 Oct 2011 11:33:51 +0200
Quoted 5 lines · Zheng
Quoted 4 lines
ipv6_gro_receive()doesn't update the protocol ops after pulling the ext headers. It looks like a typo.Signed-off-by Zheng Yan <[email protected]>
...
Quoted 4 lines
Good catch !
Acked-by Eric Dumazet <[email protected]>
Applied, thanks!