All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] mwifiex: fix usage issues with spinlocks
@ 2017-10-31  9:42 Ganapathi Bhat
  2017-10-31  9:42 ` [PATCH 1/3] mwifiex: cleanup rx_pkt_lock usage in 11n_rxreorder.c Ganapathi Bhat
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Ganapathi Bhat @ 2017-10-31  9:42 UTC (permalink / raw)
  To: linux-wireless
  Cc: Brian Norris, Cathy Luo, Xinming Hu, Zhiyuan Yang, James Cao,
	Mangesh Malusare, Douglas Anderson, Ganapathi Bhat

This patch series fixes issues with usage of few of the spinlocks
used by the driver. To summarise it fixes below issues:

1. Driver does access the elements returned by the list, without
acquiring the lock.

2. Driver release the lock during iteration of the list and hold
it back before starting the next iteration.

3. Driver release the lock while the element is still in process.

Karthik Ananthapadmanabha (3):
  mwifiex: cleanup rx_pkt_lock usage in 11n_rxreorder.c
  mwifiex: cleanup tx_ba_stream_tbl_lock usage
  mwifiex: cleanup rx_reorder_tbl_lock usage

 drivers/net/wireless/marvell/mwifiex/11n.c         | 45 +++++++++++++---------
 .../net/wireless/marvell/mwifiex/11n_rxreorder.c   | 42 +++++++++++++-------
 drivers/net/wireless/marvell/mwifiex/uap_txrx.c    |  3 ++
 3 files changed, 58 insertions(+), 32 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2018-06-25 10:49 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31  9:42 [PATCH 0/3] mwifiex: fix usage issues with spinlocks Ganapathi Bhat
2017-10-31  9:42 ` [PATCH 1/3] mwifiex: cleanup rx_pkt_lock usage in 11n_rxreorder.c Ganapathi Bhat
2017-11-01 21:28   ` Brian Norris
2017-11-02 10:30     ` [EXT] " Ganapathi Bhat
2017-11-07  0:42       ` Doug Anderson
2017-11-07  2:25         ` Brian Norris
2017-11-07 16:25           ` Ganapathi Bhat
2017-11-07 21:15             ` Doug Anderson
2017-12-07 10:29               ` Ganapathi Bhat
2018-06-25  9:49                 ` Ganapathi Bhat
2017-11-07 21:13           ` Doug Anderson
2017-10-31  9:42 ` [PATCH 2/3] mwifiex: cleanup tx_ba_stream_tbl_lock usage Ganapathi Bhat
2017-10-31  9:42 ` [PATCH 3/3] mwifiex: cleanup rx_reorder_tbl_lock usage Ganapathi Bhat
2017-11-07  2:30   ` Brian Norris

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.