Browse Source

[NET]: Cut off the queue_mapping field from sk_buff

Just hide it behind the #ifdef, because nobody wants
it now.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Pavel Emelyanov 17 years ago
parent
commit
e3fa259bcb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      include/linux/skbuff.h

+ 2 - 1
include/linux/skbuff.h

@@ -300,8 +300,9 @@ struct sk_buff {
 #endif
 #endif
 
 
 	int			iif;
 	int			iif;
+#ifdef CONFIG_NETDEVICES_MULTIQUEUE
 	__u16			queue_mapping;
 	__u16			queue_mapping;
-
+#endif
 #ifdef CONFIG_NET_SCHED
 #ifdef CONFIG_NET_SCHED
 	__u16			tc_index;	/* traffic control index */
 	__u16			tc_index;	/* traffic control index */
 #ifdef CONFIG_NET_CLS_ACT
 #ifdef CONFIG_NET_CLS_ACT