CVS: cvs.openbsd.org: src

Bjorn Ketelaars <[email protected]>
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/08/13 03:01:49

Modified files:
	sys/net        : fq_codel.c 

Log message:
fq_codel: fix CoDel drop scheduling

Use drops - 1 as the codel_intervals index; the table starts at interval
/ sqrt(1) while cd->drops is one-based. Assert non-zero.

Exclude the candidate packet from the non-starvation backlog check; the
decision is about the backlog remaining after dequeue.

Enter dropping when now equals cd->start, not only when it exceeds it.

OK sashan@
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.