Purge the IFQ when associating a new altq. Packets that have already been
commitb13ed898ca5c9987c318b6351c87e39ecc898c83
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 24 Oct 2006 17:16:13 +0000 (24 17:16 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 24 Oct 2006 17:16:13 +0000 (24 17:16 +0000)
tree7ef7b57057a0c153577ec05347ad6fe55dba86e0
parent629232f04485b9e3cb6aef72e91b2f0e324e07a0
Purge the IFQ when associating a new altq.   Packets that have already been
queued are not visible to the new altq and consequently not removed when
the altq is disassociated, resulting in a panic.

Reported-by: Kyle Butt <kylebutt@gmail.com>
sys/net/altq/altq_cbq.c
sys/net/altq/altq_hfsc.c
sys/net/altq/altq_priq.c