aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-03-26 03:47:14 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-26 03:47:14 -0400
commit9c2f5746b9cd536f0007709196d85a7e7d0070fa (patch)
treed368ab8a2f969090f2ed6d399ef50afe555cfa53
parent14eabf70c82cade5dbc71d2e913d533193a91785 (diff)
[NETNS]: Compilation fix for include/linux/netdevice.h.
Commit commit c346dca10840a874240c78efe3f39acf4312a1f2 ([NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS) breaks compilation with CONFIG_NET_NS set. Fix the typo. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-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 d146be40f46c..06ca84d71db4 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -756,7 +756,7 @@ static inline
756void dev_net_set(struct net_device *dev, const struct net *net) 756void dev_net_set(struct net_device *dev, const struct net *net)
757{ 757{
758#ifdef CONFIG_NET_NS 758#ifdef CONFIG_NET_NS
759 dev->nd_dev = net; 759 dev->nd_net = net;
760#endif 760#endif
761} 761}
762 762