mirror of
https://github.com/opnsense/src.git
synced 2026-05-04 17:05:14 -04:00
Free data buffers every time when device is stopped, not when it is detached; they are allocated at the initialization stage. How-to-reproduce: 1) ifconfig wlan0 create wlandev urtwn0 up 2) vmstat -m | grep USBdev 3) service netif restart 4) vmstat -m | grep USBdev Also, remove usbd_transfer_drain() call; it is already called by usbd_transfer_unsetup(). Tested with RTL8188CUS, STA mode. Approved by: re (marius) |
||
|---|---|---|
| .. | ||
| if_urtwn.c | ||
| if_urtwnreg.h | ||
| if_urtwnvar.h | ||