diff options
author | Willem de Bruijn <willemb@google.com> | 2015-03-11 20:43:55 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-12 05:09:55 +0100 |
commit | 3a8dd9711e0792f64394edafadd66c2d1f1904df (patch) | |
tree | 2b0f3746ed1049a0781d381791df55a24bcd73b6 /net/rds/iw_rdma.c | |
parent | xps: must clear sender_cpu before forwarding (diff) | |
download | linux-3a8dd9711e0792f64394edafadd66c2d1f1904df.tar.xz linux-3a8dd9711e0792f64394edafadd66c2d1f1904df.zip |
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 <gnomes@lxorguk.ukuu.org.uk>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/iw_rdma.c')
0 files changed, 0 insertions, 0 deletions