linux/drivers/net/wireless/intel
Luca Coelho 1f9788f335 iwlwifi: mvm: fix potential NULL-dereference in iwl_mvm_reorder()
We try to access sta before we check for IS_ERR_OR_NULL(), so we may
end up accessing a NULL pointer.  To prevent that, move the conversion
from sta to mvm_sta below the check.

Fixes: b915c10174 ("iwlwifi: mvm: add reorder buffer per queue")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2016-06-10 13:34:34 +03:00
..
ipw2x00 treewide: replace dev->trans_start update with helper 2016-05-04 14:16:49 -04:00
iwlegacy cfg80211: remove enum ieee80211_band 2016-04-12 15:56:15 +02:00
iwlwifi iwlwifi: mvm: fix potential NULL-dereference in iwl_mvm_reorder() 2016-06-10 13:34:34 +03:00
Kconfig
Makefile