From: Thomas Gleixner Date: Fri, 11 Apr 2014 08:13:12 +0000 (+0000) Subject: can: c_can: Do not access skb after net_receive_skb() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~39^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c64863a49bd23c5a3a983680eb500f7796c81be;p=pandora-kernel.git can: c_can: Do not access skb after net_receive_skb() There is no guarantee that the skb is in the same state after calling net_receive_skb(). It might be freed or reused. Not really harmful as its a read access, except you turn on the proper debugging options which catch a use after free. The whole can subsystem is full of this. Copy and paste .... Signed-off-by: Thomas Gleixner Tested-by: Alexander Stein Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed