diff options
| author | Larry Finger <Larry.Finger@lwfinger.net> | 2016-06-25 13:37:47 -0500 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2016-07-05 17:31:44 +0300 |
| commit | 300c32ca84f5006ccbbf37f5207b6311aeccc5c8 (patch) | |
| tree | 8bbead7d251e22cbd8c66707a3bcc8e7aeaef7d4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 4f29b348bdc08e6a30242f0d14d6672019ffd1bb (diff) | |
| download | cachepc-linux-300c32ca84f5006ccbbf37f5207b6311aeccc5c8.tar.gz cachepc-linux-300c32ca84f5006ccbbf37f5207b6311aeccc5c8.zip | |
rtlwifi: rtl8821ae: Fix potential race condition
Flag rfchange_inprogress in struct rtl_ps_ctl is protected by a spinlock
in most routines but not in rtl8821ae_dm_watchdog() which could
lead to a race condition. The necessary locking to prevent this condition
is added.
Reported-by: Pavel Andrianov <andrianov@ispras.ru>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Pavel Andrianov <andrianov@ispras.ru>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
