netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* patch: Action repeat
@ 2005-04-30 16:50 jamal
  2005-04-30 17:06 ` Patrick McHardy
  2005-05-03 23:28 ` David S. Miller
  0 siblings, 2 replies; 29+ messages in thread
From: jamal @ 2005-04-30 16:50 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

[-- Attachment #1: Type: text/plain, Size: 123 bytes --]


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

signed-off-by: J Hadi Salim <hadi@cyberus.ca>

cheers,
jamal

[-- Attachment #2: repeat_p --]
[-- Type: text/plain, Size: 423 bytes --]

--- a/net/sched/act_api.c	2005/04/30 16:17:16	1.1
+++ b/net/sched/act_api.c	2005/04/30 16:17:44
@@ -171,10 +171,10 @@
 				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;
 	}

^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2005-05-05 13:06 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-30 16:50 patch: Action repeat jamal
2005-04-30 17:06 ` Patrick McHardy
2005-04-30 17:08   ` Patrick McHardy
2005-04-30 17:27     ` jamal
2005-04-30 18:13       ` Patrick McHardy
2005-04-30 19:51         ` jamal
2005-04-30 20:08           ` Thomas Graf
2005-04-30 20:50             ` jamal
2005-04-30 21:55               ` Thomas Graf
2005-04-30 22:34                 ` jamal
2005-04-30 23:58                   ` Thomas Graf
2005-05-02 12:10                     ` jamal
2005-05-02 15:06                       ` Thomas Graf
2005-05-04 11:46                         ` jamal
2005-05-04 12:15                           ` Patrick McHardy
2005-05-04 12:31                           ` Thomas Graf
2005-05-04 12:59                             ` jamal
2005-05-04 13:28                               ` Thomas Graf
2005-05-04 13:33                                 ` Thomas Graf
2005-05-04 13:33                                 ` jamal
2005-05-04 13:48                                   ` Thomas Graf
2005-05-04 13:53                                     ` jamal
2005-05-04 14:05                                       ` Thomas Graf
2005-05-04 14:23                                         ` jamal
2005-05-04 14:53                                           ` Thomas Graf
2005-05-05 13:06                                             ` jamal
2005-05-01  0:08             ` Patrick McHardy
2005-05-01  0:06           ` Patrick McHardy
2005-05-03 23:28 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).