OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/4] Diet struct sk_buff a bit
[PATCH 4/4] Cut off the queue_mapping field from sk_buff [message #22047 is a reply to message #22043] Fri, 19 October 2007 09:05 Go to previous messageGo to previous message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
Just hide it behind the #ifdef, because nobody wants
it now.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>

---

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index f93f22b..580ed1f 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -301,8 +301,9 @@ struct sk_buff {
 #endif
 
 	int			iif;
+#ifdef CONFIG_NETDEVICES_MULTIQUEUE
 	__u16			queue_mapping;
-
+#endif
 #ifdef CONFIG_NET_SCHED
 	__u16			tc_index;	/* traffic control index */
 #ifdef CONFIG_NET_CLS_ACT
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [PATCH] ip{,6}_queue: convert to seq_file interface
Next Topic: [PATCH 0/2] CFS CGroup: cleanup & usage reporting
Goto Forum:
  


Current Time: Thu Aug 14 17:03:11 GMT 2025

Total time taken to generate the page: 0.24410 seconds