summaryrefslogtreecommitdiffstats
path: root/kernel/signal.c
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2016-05-16 13:34:20 +0200
committerLuca Coelho <luciano.coelho@intel.com>2016-06-10 12:34:34 +0200
commit1f9788f335d7c3145bcb59bd570c5b9ef7203ef4 (patch)
tree88b3a33d00e742107de22b933d62cb7caac01169 /kernel/signal.c
parentiwlwifi: mvm: fix RCU splat in TKIP's update_key (diff)
downloadlinux-1f9788f335d7c3145bcb59bd570c5b9ef7203ef4.tar.xz
linux-1f9788f335d7c3145bcb59bd570c5b9ef7203ef4.zip
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: b915c10174fb ("iwlwifi: mvm: add reorder buffer per queue") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'kernel/signal.c')
0 files changed, 0 insertions, 0 deletions