netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2 net-2.6.26] [NETNS]: Compilation fix for include/linux/netdevice.h.
@ 2008-03-26  7:40 Denis V. Lunev
  2008-03-26  7:40 ` [PATCH 2/2 net-2.6.26] [NETNS]: Compilation warnings under CONFIG_NET_NS Denis V. Lunev
  2008-03-26  7:47 ` [PATCH 1/2 net-2.6.26] [NETNS]: Compilation fix for include/linux/netdevice.h David Miller
  0 siblings, 2 replies; 8+ messages in thread
From: Denis V. Lunev @ 2008-03-26  7:40 UTC (permalink / raw)
  To: davem; +Cc: netdev, devel, containers, xemul, yoshfuji, dlezcano,
	Denis V. Lunev

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>
---
 include/linux/netdevice.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index d146be4..06ca84d 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -756,7 +756,7 @@ static inline
 void dev_net_set(struct net_device *dev, const struct net *net)
 {
 #ifdef CONFIG_NET_NS
-	dev->nd_dev = net;
+	dev->nd_net = net;
 #endif
 }
 
-- 
1.5.3.rc5


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-03-26  9:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-26  7:40 [PATCH 1/2 net-2.6.26] [NETNS]: Compilation fix for include/linux/netdevice.h Denis V. Lunev
2008-03-26  7:40 ` [PATCH 2/2 net-2.6.26] [NETNS]: Compilation warnings under CONFIG_NET_NS Denis V. Lunev
2008-03-26  7:48   ` David Miller
2008-03-26  7:47 ` [PATCH 1/2 net-2.6.26] [NETNS]: Compilation fix for include/linux/netdevice.h David Miller
2008-03-26  7:52   ` Denis V. Lunev
2008-03-26  8:07   ` YOSHIFUJI Hideaki / 吉藤英明
2008-03-26  8:51     ` Daniel Lezcano
2008-03-26  9:22   ` [Devel] " Alexey Dobriyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).