From: Eric Dumazet Date: Fri, 16 May 2014 18:34:37 +0000 (-0700) Subject: net: gro: make sure skb->cb[] initial content has not to be zero X-Git-Tag: omap-for-v3.16/fixes-against-rc1~146^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29e98242783ed3ba569797846a606ba66f781625;p=pandora-kernel.git net: gro: make sure skb->cb[] initial content has not to be zero Starting from linux-3.13, GRO attempts to build full size skbs. Problem is the commit assumed one particular field in skb->cb[] was clean, but it is not the case on some stacked devices. Timo reported a crash in case traffic is decrypted before reaching a GRE device. Fix this by initializing NAPI_GRO_CB(skb)->last at the right place, this also removes one conditional. Thanks a lot to Timo for providing full reports and bisecting this. Fixes: 8a29111c7ca6 ("net: gro: allow to build full sized skb") Bisected-by: Timo Teras Signed-off-by: Eric Dumazet Tested-by: Timo Teräs Signed-off-by: David S. Miller --- Reading git-diff-tree failed