Searched hist:288051 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/sys/dev/usb/wlan/
H A Dif_rsu.cdiff 288051 Mon Sep 21 02:22:52 MDT 2015 adrian Drain the mbuf queue upon rsu_stop().

Correctly (I hope!) remove net80211 references before doing so.
Just doing a dumb mbufq drain isn't enough.

If enough traffic occurs and the mbuf queue fills up then transmit
stalls (which I'm not fixing in this commit!) but then the mbuf queue
stays full until the driver is removed. There's also the net80211
node refcounting leak.

This just ensures that during rsu_stop and detach the mbuf queue
is purged (and references!) so the queue-full situation can be
recovered from.

Completed in 130 milliseconds