Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14d50e78 authored by J Hadi Salim's avatar J Hadi Salim Committed by David S. Miller
Browse files

[PKT_SCHED]: Action repeat



Long standing bug.
Policy to repeat an action never worked.

Signed-off-by: default avatarJ Hadi Salim <hadi@cyberus.ca>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aabc9761
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}