dummynet: fix pie

Since 26b9e1f07f 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: https://github.com/freebsd/freebsd-src/pull/1390

(cherry picked from commit 2b7f2890a8)
This commit is contained in:
Franco Fichtner 2024-07-29 16:38:00 +02:00 committed by Warner Losh
parent 6913983486
commit 08a7825f05

View file

@ -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;