瀏覽代碼

[EMATCH]: Kill TCF_META_ID_TCCLASSID reference from meta ematch as well.

Signed-off-by: David S. Miller <davem@davemloft.net>
David S. Miller 20 年之前
父節點
當前提交
3f1c81ff10
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      net/sched/em_meta.c

+ 0 - 6
net/sched/em_meta.c

@@ -250,11 +250,6 @@ META_COLLECTOR(int_tcverd)
 {
 	dst->value = skb->tc_verd;
 }
-
-META_COLLECTOR(int_tcclassid)
-{
-	dst->value = skb->tc_classid;
-}
 #endif
 
 /**************************************************************************
@@ -529,7 +524,6 @@ static struct meta_ops __meta_ops[TCF_META_TYPE_MAX+1][TCF_META_ID_MAX+1] = {
 		[META_ID(TCINDEX)]		= META_FUNC(int_tcindex),
 #ifdef CONFIG_NET_CLS_ACT
 		[META_ID(TCVERDICT)]		= META_FUNC(int_tcverd),
-		[META_ID(TCCLASSID)]		= META_FUNC(int_tcclassid),
 #endif
 #ifdef CONFIG_NET_CLS_ROUTE
 		[META_ID(RTCLASSID)]		= META_FUNC(int_rtclassid),