[lkml]   [2002]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: bug in sch_generic.c:pfifo_fast_enqueue
   From: Patrick McHardy <>
Date: Thu, 11 Apr 2002 15:56:35 +0200

"David S. Miller" schrieb:
> From: Patrick McHardy <>
> Date: Mon, 1 Apr 2002 21:43:03 +0200 (CEST)
> I found a small bug in pfifo_fast_enqueue, instead of
> if (list->qlen <= skb->dev->tx_queue_len)
> it should be
> if (list->qlen <= qdisc->dev->tx_queue_len)
> skb->dev == qdisc->dev should be invariant when this
> code runs. So the code is correct, albeit possibly
> confusing.

Although in normal circumstances the assumption may be right
it fails in this case. It would be nice if you apply my patch
as it doesn't changes anything and enforces correct behaviour
in cases like mine.

Ok, for the sake of consistency, I've made the change.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:22    [W:0.039 / U:2.984 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site