From: Lorenzo Bianconi <lorenzo@kernel.org>
To: kubakici@wp.pl
Cc: linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com
Subject: [PATCH v2 0/2] mt7601u: do not schedule {rx,tx}_tasklet when the device has been disconnected
Date: Fri, 7 Jun 2019 13:48:08 +0200 [thread overview]
Message-ID: <cover.1559906499.git.lorenzo@kernel.org> (raw)
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
next reply other threads:[~2019-06-07 11:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-07 11:48 Lorenzo Bianconi [this message]
2019-06-07 11:48 ` [PATCH v2 1/2] mt7601u: do not schedule rx_tasklet when the device has been disconnected 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1559906499.git.lorenzo@kernel.org \
--to=lorenzo@kernel.org \
--cc=kubakici@wp.pl \
--cc=linux-wireless@vger.kernel.org \
--cc=lorenzo.bianconi@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.