Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selinux: fix a sock regression in selinux_ip_postroute_compat()
Unfortunately we can't rely on nf_hook_state->sk being the proper originating socket so revert to using skb_to_full_sk(skb). Fixes: 1d1e1de ("selinux: make better use of the nf_hook_state passed to the NF hooks") Reported-by: Linux Kernel Functional Testing <[email protected]> Suggested-by: Florian Westphal <[email protected]> Signed-off-by: Paul Moore <[email protected]>
- Loading branch information