Purge the IFQ when associating a new altq. Packets that have already been
authorMatthew Dillon <dillon@dragonflybsd.org>
Tue, 24 Oct 2006 17:16:13 +0000 (17:16 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Tue, 24 Oct 2006 17:16:13 +0000 (17:16 +0000)
commite23995c229d71c6584514c182092852635bdee4c
tree5895fded036403385c5bc5441cbb96de81f80074
parent23e12d009562b00e11c4f7c7dce4d0947fc1d812
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