aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 06ca84d71db4..15fa84a15c27 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -753,7 +753,7 @@ struct net *dev_net(const struct net_device *dev)
753} 753}
754 754
755static inline 755static inline
756void dev_net_set(struct net_device *dev, const struct net *net) 756void dev_net_set(struct net_device *dev, struct net *net)
757{ 757{
758#ifdef CONFIG_NET_NS 758#ifdef CONFIG_NET_NS
759 dev->nd_net = net; 759 dev->nd_net = net;