Skip to content

Commit

Permalink
dummynet: fix pie
Browse files Browse the repository at this point in the history
Since 26b9e1f codel was fixed but traffic was not flowing for
pie too. Apply the same fix.

MFC after:	1 week
Sponsored by:	OPNsense
Differential Revision:	https://reviews.freebsd.org/D46182
Also see:	https://redmine.pfsense.org/issues/13996
Also see:	https://forum.opnsense.org/index.php?topic=41827.0
Reviewed by: imp, markj
Pull Request: #1390
  • Loading branch information
fichtner authored and bsdimp committed Sep 6, 2024
1 parent 3f0efe0 commit 2b7f289
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sys/netpfil/ipfw/dn_sched_fq_pie.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,9 @@ pie_enqueue(struct fq_pie_flow *q, struct mbuf* m, struct fq_pie_si *si)
}

if (t != DROP) {
if (m->m_pkthdr.rcvif != NULL)
m_rcvif_serialize(m);

mq_append(&q->mq, m);
fq_update_stats(q, si, len, 0);
return 0;
Expand Down

0 comments on commit 2b7f289

Please sign in to comment.