From: Willem de Bruijn Date: Wed, 11 Mar 2015 19:43:55 +0000 (-0400) Subject: sock: fix possible NULL sk dereference in __skb_tstamp_tx X-Git-Tag: omap-for-v4.1/fixes-rc1~306^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a8dd9711e0792f64394edafadd66c2d1f1904df;p=pandora-kernel.git sock: fix possible NULL sk dereference in __skb_tstamp_tx Test that sk != NULL before reading sk->sk_tsflags. Fixes: 49ca0d8bfaf3 ("net-timestamp: no-payload option") Reported-by: One Thousand Gnomes Signed-off-by: Willem de Bruijn Signed-off-by: David S. Miller --- Reading git-diff-tree failed