summaryrefslogtreecommitdiff
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2025-02-21 15:02:56 +0100
committerIngo Molnar <mingo@kernel.org>2025-02-21 15:02:56 +0100
commitaffe678f355738db56361d124757c38c09401341 (patch)
treeb3583e474859a83c42b0c469c3a20342e0f51423 /include/net/net_namespace.h
parent675204778c69c2b3e0f6a4e2dbfeb4f3e89194ba (diff)
parent0ad2507d5d93f39619fc42372c347d6006b64319 (diff)
Merge tag 'v6.14-rc3' into x86/mm, to pick up fixes before merging new changes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/net/net_namespace.h')
-rw-r--r--include/net/net_namespace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index 0f5eb9db0c62..7ba1402ca779 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -398,7 +398,7 @@ static inline struct net *read_pnet(const possible_net_t *pnet)
#endif
}
-static inline struct net *read_pnet_rcu(possible_net_t *pnet)
+static inline struct net *read_pnet_rcu(const possible_net_t *pnet)
{
#ifdef CONFIG_NET_NS
return rcu_dereference(pnet->net);