diff options
author | Douglas Anderson <dianders@chromium.org> | 2017-05-12 19:42:01 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-05-19 09:01:56 +0300 |
commit | 09bdb65005515c97b29e0792bc6e5598d9e4035f (patch) | |
tree | c0415ec497e5d3659d8e43ebcb871a452c733141 /drivers/fpga/fpga-mgr.c | |
parent | 90ad0be83676c82d9f1bfc1c1c3b3f61f3291017 (diff) | |
download | linux-09bdb65005515c97b29e0792bc6e5598d9e4035f.tar.xz |
mwifiex: Add locking to mwifiex_11n_delba
The mwifiex_11n_delba() function walked the rx_reorder_tbl_ptr without
holding the lock, which was an obvious violation.
Grab the lock.
NOTE: we hold the lock while calling mwifiex_send_delba(). There's also
several callers in 11n_rxreorder.c that hold the lock and the comments
in the struct sound just like very other list/lock pair -- as if the
lock should definitely be help for all operations like this.
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions