Revert "smack: tcp: ipv4, fix incorrect labeling"

This reverts commit 437f0f3baf.
This commit is contained in:
Ksawlii 2024-11-24 00:23:47 +01:00
parent a34bd6102b
commit ab40de29ea

View file

@ -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, &ssp->smk_out->smk_netlabel);
rc = netlbl_req_setattr(req, &skp->smk_netlabel);
else
netlbl_req_delattr(req);