浏览代码

[NET]: Reduce tc_index/tc_verd to u16

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Patrick McHardy 20 年之前
父节点
当前提交
b6b99eb540
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      include/linux/skbuff.h

+ 2 - 2
include/linux/skbuff.h

@@ -265,9 +265,9 @@ struct sk_buff {
 #endif
 #endif /* CONFIG_NETFILTER */
 #ifdef CONFIG_NET_SCHED
-       __u32			tc_index;        /* traffic control index */
+	__u16			tc_index;	/* traffic control index */
 #ifdef CONFIG_NET_CLS_ACT
-	__u32           tc_verd;               /* traffic control verdict */
+	__u16			tc_verd;	/* traffic control verdict */
 #endif
 #endif