diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 945e63357..04c588af3 100755 --- a/security/smack/smack_lsm.c +++ b/security/smack/smack_lsm.c @@ -4229,7 +4229,7 @@ static int smack_inet_conn_request(struct sock *sk, struct sk_buff *skb, rcu_read_unlock(); if (hskp == NULL) - rc = netlbl_req_setattr(req, &skp->smk_netlabel); + rc = netlbl_req_setattr(req, &ssp->smk_out->smk_netlabel); else netlbl_req_delattr(req);