All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mt7601u: do not schedule {rx,tx}_tasklet when the device has been disconnected
@ 2019-06-07 11:48 Lorenzo Bianconi
  2019-06-07 11:48 ` [PATCH v2 1/2] mt7601u: do not schedule rx_tasklet " Lorenzo Bianconi
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Lorenzo Bianconi @ 2019-06-07 11:48 UTC (permalink / raw)
  To: kubakici; +Cc: linux-wireless, lorenzo.bianconi

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-25  5:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-07 11:48 [PATCH v2 0/2] mt7601u: do not schedule {rx,tx}_tasklet when the device has been disconnected Lorenzo Bianconi
2019-06-07 11:48 ` [PATCH v2 1/2] mt7601u: do not schedule rx_tasklet " Lorenzo Bianconi
2019-06-25  5:01   ` Kalle Valo
2019-06-07 11:48 ` [PATCH v2 2/2] mt7601u: fix possible memory leak when the device is disconnected Lorenzo Bianconi
2019-06-07 17:07 ` [PATCH v2 0/2] mt7601u: do not schedule {rx,tx}_tasklet when the device has been disconnected Jakub Kicinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.