mirror of https://gitee.com/openkylin/linux.git
[PKT_SCHED]: Action repeat
Long standing bug. Policy to repeat an action never worked. Signed-off-by: J Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
aabc9761b6
commit
14d50e78f9
|
@ -171,10 +171,10 @@ int tcf_action_exec(struct sk_buff *skb, struct tc_action *act,
|
|||
skb->tc_verd = SET_TC_OK2MUNGE(skb->tc_verd);
|
||||
skb->tc_verd = CLR_TC_MUNGED(skb->tc_verd);
|
||||
}
|
||||
if (ret != TC_ACT_PIPE)
|
||||
goto exec_done;
|
||||
if (ret == TC_ACT_REPEAT)
|
||||
goto repeat; /* we need a ttl - JHS */
|
||||
if (ret != TC_ACT_PIPE)
|
||||
goto exec_done;
|
||||
}
|
||||
act = a->next;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue