From: J Hadi Salim Date: Tue, 3 May 2005 23:29:13 +0000 (-0700) Subject: [PKT_SCHED]: Action repeat X-Git-Tag: v2.6.12-rc4~117^2~23^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=14d50e78f947d340066ee0465dd892ad1d9162c0;p=linux-2.6-omap-h63xx.git [PKT_SCHED]: Action repeat Long standing bug. Policy to repeat an action never worked. Signed-off-by: J Hadi Salim Signed-off-by: David S. Miller --- diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 5e6cc371b39..cafcb084098 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -171,10 +171,10 @@ repeat: 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; }