[NET]: Kill skb->tc_classid
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
8728b834b2
commit
abc3bc5804
@@ -165,7 +165,7 @@ int tcf_action_exec(struct sk_buff *skb, struct tc_action *act,
|
||||
while ((a = act) != NULL) {
|
||||
repeat:
|
||||
if (a->ops && a->ops->act) {
|
||||
ret = a->ops->act(&skb, a);
|
||||
ret = a->ops->act(&skb, a, res);
|
||||
if (TC_MUNGED & skb->tc_verd) {
|
||||
/* copied already, allow trampling */
|
||||
skb->tc_verd = SET_TC_OK2MUNGE(skb->tc_verd);
|
||||
@@ -179,11 +179,6 @@ repeat:
|
||||
act = a->next;
|
||||
}
|
||||
exec_done:
|
||||
if (skb->tc_classid > 0) {
|
||||
res->classid = skb->tc_classid;
|
||||
res->class = 0;
|
||||
skb->tc_classid = 0;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user