Thread (2 messages) 2 messages, 2 authors, 2011-07-27

Re: gro: Only reset frag0 when skb can be pulled

From: David Miller <davem@davemloft.net>
Date: 2011-07-27 13:17:23

From: Herbert Xu <redacted>
Date: Wed, 27 Jul 2011 21:10:08 +0800
gro: Only reset frag0 when skb can be pulled

Currently skb_gro_header_slow unconditionally resets frag0 and
frag0_len.  However, when we can't pull on the skb this leaves
the GRO fields in an inconsistent state.

This patch fixes this by only resetting those fields after the
pskb_may_pull test.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Applied, thanks.

I'll queue this up for -stable too.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help