Commit 1dea3c0
wifi: ath11k: fix gtk offload status event locking
The ath11k active pdevs are protected by RCU but the gtk offload status
event handling code calling ath11k_mac_get_arvif_by_vdev_id() was not
marked as a read-side critical section.
Mark the code in question as an RCU read-side critical section to avoid
any potential use-after-free issues.
Compile tested only.
Fixes: a16d9b5 ("ath11k: support GTK rekey offload")
Cc: [email protected] # 5.18
Cc: Carl Huang <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Jeff Johnson <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent 3f77c7d commit 1dea3c0
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8618 | 8618 | | |
8619 | 8619 | | |
8620 | 8620 | | |
| 8621 | + | |
| 8622 | + | |
8621 | 8623 | | |
8622 | 8624 | | |
8623 | 8625 | | |
8624 | 8626 | | |
8625 | | - | |
8626 | | - | |
| 8627 | + | |
8627 | 8628 | | |
8628 | 8629 | | |
8629 | 8630 | | |
| |||
8640 | 8641 | | |
8641 | 8642 | | |
8642 | 8643 | | |
| 8644 | + | |
| 8645 | + | |
8643 | 8646 | | |
8644 | 8647 | | |
8645 | 8648 | | |
| |||
0 commit comments