projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aabc976
)
[PKT_SCHED]: Action repeat
author
J Hadi Salim
<hadi@cyberus.ca>
Tue, 3 May 2005 23:29:13 +0000
(16:29 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 3 May 2005 23:29:13 +0000
(16:29 -0700)
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>
net/sched/act_api.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sched/act_api.c
b/net/sched/act_api.c
index 5e6cc371b39ea6fa003df025a0d9e5bdb5a8948f..cafcb084098d161d0d8d09ac64e8b067edb837f9 100644
(file)
--- 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;
}