smack: use skb_to_full_sk() helper
authorEric Dumazet <edumazet@google.com>
Sun, 8 Nov 2015 18:54:08 +0000 (10:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Nov 2015 01:56:38 +0000 (20:56 -0500)
commit8827d90e29e664aa959817467a3da72041ca2269
treeb93d7f1df7eeb6411f300f9b94e1737f96ff350e
parent54abc686c2d111e98228943a7e1e51cc256e35d9
smack: use skb_to_full_sk() helper

This module wants to access sk->sk_security, which is not
available for request sockets.

Fixes: ca6fb0651883 ("tcp: attach SYNACK messages to request sockets instead of listener")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
security/smack/smack_netfilter.c