mbox series

[v2,0/2] wifi: wilc1000: fix RCU warning in connect path

Message ID 20240105075733.36331-1-alexis.lothore@bootlin.com
Headers show
Series wifi: wilc1000: fix RCU warning in connect path | expand

Message

Alexis Lothoré Jan. 5, 2024, 7:57 a.m. UTC
Hello,
this small series aims to fix a RCU warning due to RCU pointer dereference
outside of a RCU critical read section.

Fix is in the second commit, the first one is a mere declarations
reordering before touching declared variables in wilc_parse_join_bss_param

Changes in v2:
- fix leak in early return

Alexis Lothoré (2):
  wifi: wilc1000: fix declarations ordering
  wifi: wilc1000: fix RCU usage in connect path

 drivers/net/wireless/microchip/wilc1000/hif.c | 40 ++++++++++++-------
 1 file changed, 26 insertions(+), 14 deletions(-)