OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/5] Diet struct net_device a bit
[PATCH 2/5] Cut off macvlan_port from net_device [message #22145 is a reply to message #22143] Mon, 22 October 2007 12:34 Go to previous messageGo to previous message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

---

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 469e04f..c41a5c4 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -703,8 +703,10 @@ struct net_device
 	/* bridge stuff */
 	struct net_bridge_port	*br_port;
 #endif
+#if defined(CONFIG_MACVLAN) || defined(CONFIG_MACVLAN_MODULE)
 	/* macvlan */
 	struct macvlan_port	*macvlan_port;
+#endif
 
 	/* class/net/name entry */
 	struct device		dev;
-- 
1.5.3.4
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] nf_sockopts list head cleanup
Next Topic: Re: LSM and Containers (was: LSM conversion to static interface)
Goto Forum:
  


Current Time: Mon Oct 27 11:56:14 GMT 2025

Total time taken to generate the page: 0.32818 seconds