Search Linux Wireless

[PATCH v2 0/2] mt7601u: do not schedule {rx,tx}_tasklet when the device has been disconnected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Do not schedule {tx,rx}_tasklet when the usb dongle is disconnected in order to fix
{TX,RX} urb mismatch warning
Fix possible memory leak when the device is disconnected while passing traffic.

Changes since v1:
- move tasklet_kill back in mt7601u_dma_cleanup
- add more comments and improve commit messages

Lorenzo Bianconi (2):
  mt7601u: do not schedule rx_tasklet when the device has been
    disconnected
  mt7601u: fix possible memory leak when the device is disconnected

 drivers/net/wireless/mediatek/mt7601u/dma.c | 54 +++++++++++++--------
 drivers/net/wireless/mediatek/mt7601u/tx.c  |  4 +-
 2 files changed, 36 insertions(+), 22 deletions(-)

-- 
2.21.0




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux