lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 16 Mar 2007 06:30:58 +0100 (MET) From: Patrick McHardy <kaber@...sh.net> To: davem@...emloft.net Cc: devik@....cz, netdev@...r.kernel.org, Patrick McHardy <kaber@...sh.net>, shemminger@...ux-foundation.org Subject: [NET_SCHED 07/10]: sch_cbq: fix cbq_undelay_prio for non-active priorites [NET_SCHED]: sch_cbq: fix cbq_undelay_prio for non-active priorites cbq_undelay_prio is supposed to return a time delta, but returns the current time for non-active priorities, causing cbq_undelay to mark the priority as active and schedule a timer for twice the current time. Signed-off-by: Patrick McHardy <kaber@...sh.net> --- commit 40c78645115590d29549f6a1603847a620206d29 tree 256ba8884abb84aedaec857800a93a0619f9195e parent dc1a944b36eeddc06e7288a2eec9344252d4ccb7 author Patrick McHardy <kaber@...sh.net> Fri, 16 Mar 2007 06:06:29 +0100 committer Patrick McHardy <kaber@...sh.net> Fri, 16 Mar 2007 06:06:29 +0100 net/sched/sch_cbq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/net/sched/sch_cbq.c b/net/sched/sch_cbq.c index d29d121..32f6a30 100644 --- a/net/sched/sch_cbq.c +++ b/net/sched/sch_cbq.c @@ -612,7 +612,7 @@ static unsigned long cbq_undelay_prio(st unsigned long sched = now; if (cl_prev == NULL) - return now; + return 0; do { cl = cl_prev->next_alive; - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists