aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/net_namespace.h
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2025-02-13 20:43:01 +0000
committerJakub Kicinski <[email protected]>2025-02-13 20:43:30 +0000
commit7a7e0197133d18cfd9931e7d3a842d0f5730223f (patch)
treeb9e558f5cbc5e4bec8c32b37e4168976f52f6cc7 /include/net/net_namespace.h
parentnet: usb: asix_devices: add FiberGecko DeviceID (diff)
parentMerge tag 'net-6.14-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/net... (diff)
downloadkernel-7a7e0197133d18cfd9931e7d3a842d0f5730223f.tar.gz
kernel-7a7e0197133d18cfd9931e7d3a842d0f5730223f.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
Cross-merge networking fixes after downstream PR (net-6.14-rc3). No conflicts or adjacent changes. Signed-off-by: Jakub Kicinski <[email protected]>
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);