diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-12-02 12:03:36 +0100 |
---|---|---|
committer | Luca Coelho <luciano.coelho@intel.com> | 2017-01-23 12:55:32 +0200 |
commit | 03c902bff524e0cf664737a33f2365f7837040bf (patch) | |
tree | 1a882bcf6f280aff6a263198782ff3e647fd5c42 /net/lapb/lapb_in.c | |
parent | 7941c59e45f3b6d30e07375e9b6713427e0a9f98 (diff) |
iwlwifi: mvm: avoid crash on restart w/o reserved queues
When the firmware restarts in a situation in which any station
has no queue reserved anymore because that queue was used, the
code will crash trying to access the queue_info array at the
offset 255, which is far too big. Fix this by checking that a
queue is actually reserved before writing its status.
Fixes: 8d98ae6eb0d5 ("iwlwifi: mvm: re-assign old queues after hw restart in dqa mode")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions