Thread (1 message) 1 message, 1 author, 2014-05-20

Re: [PATCH net] ipv6: gro: fix CHECKSUM_COMPLETE support

From: Eric Dumazet <hidden>
Date: 2014-05-20 04:41:55

On Mon, 2014-05-19 at 18:09 -0700, Eric Dumazet wrote:
quoted hunk
@@ -264,13 +263,10 @@ static struct sk_buff **ipv6_gro_receive(struct sk_buff **head,
 
 	NAPI_GRO_CB(skb)->flush |= flush;
 
-	csum = skb->csum;
-	skb_postpull_rcsum(skb, iph, skb_network_header_len(skb));
+	skb_gro_postpull_rcsum(skb, iph, sizeof(*iph));
 
sizeof(*iph) doesn't support extension headers. nlen is more appropriate

I'll send a V2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help