diff options
| author | Pavel Andrianov <[email protected]> | 2016-06-15 15:34:03 +0400 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2016-06-29 18:46:56 +0300 |
| commit | f52b041aed77592862c97726b98d78e8dccd72c9 (patch) | |
| tree | 18e3a9e1f0401363f9c70b817965e505f9710d7d /tools/perf/scripts/python | |
| parent | 6edc119ed3b5e860535d49852f8cc8e5be95538d (diff) | |
libertas: Add spinlock to avoid race condition
lbs_mac_event_disconnected may free priv->currenttxskb
while lbs_hard_start_xmit accesses to it.
The patch adds a spinlock for mutual exclusion.
Tested on OLPC XO-1 (usb8388) and XO-1.5 (sd8686) with v4.7-rc3.
Confirmed that lbs_mac_event_disconnected is being called on the
station when hostapd on access point is given SIGHUP.
Signed-off-by: Pavel <[email protected]>
Tested-by: James Cameron <[email protected]>
Acked-by: Vaishali Thakkar <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions