From: Herbert Xu Date: Wed, 27 Jul 2011 13:16:28 +0000 (-0700) Subject: gro: Only reset frag0 when skb can be pulled X-Git-Tag: v3.1-rc1~130^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17dd759c67f21e34f2156abcf415e1f60605a188;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed