summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2024-12-09 12:50:45 +0000
committerMark Brown <broonie@kernel.org>2024-12-09 12:50:45 +0000
commit1331fb6640440f42a709eafd5c802f3496f746b8 (patch)
tree01fd6f6cf36155fe188aed05db07a030f509ac00 /security/selinux/hooks.c
parenta308f9e47fc2377863f0f561ceedd45ccc7c7f9c (diff)
parentfac04efc5c793dccbd07e2d59af9f90b7fc0dca4 (diff)
regmap: Merge up v6.12-rc2
This has fixes for several boards which help my testing a lot.
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index f5a08f94e094..366c87a40bd1 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -5738,7 +5738,7 @@ static unsigned int selinux_ip_output(void *priv, struct sk_buff *skb,
/* we do this in the LOCAL_OUT path and not the POST_ROUTING path
* because we want to make sure we apply the necessary labeling
* before IPsec is applied so we can leverage AH protection */
- sk = skb->sk;
+ sk = sk_to_full_sk(skb->sk);
if (sk) {
struct sk_security_struct *sksec;