summaryrefslogtreecommitdiff
path: root/include/net/irda/timer.h
diff options
context:
space:
mode:
authorSara Sharon <sara.sharon@intel.com>2016-11-16 17:04:36 +0200
committerLuca Coelho <luciano.coelho@intel.com>2017-02-03 16:26:40 +0200
commit01796ff2fa6e81b0d806e735308d8171bcbfbec7 (patch)
treea62b9a653f08985ca54072b41cb2c4dbdb118489 /include/net/irda/timer.h
parent9ba221b372c177b6908ff8c39b7b056538622ae1 (diff)
iwlwifi: mvm: always free inactive queue when moving ownership
If iwl_mvm_find_free_queue() doesn't find a free queue, it will return an inactive one. However, not all the call paths free this queue before reassigning it, which is a bug. Check it in other paths and act accordingly. Fixes: 9794c64f302d ("iwlwifi: mvm: support dqa queue inactivation upon timeout") Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'include/net/irda/timer.h')
0 files changed, 0 insertions, 0 deletions
njects the stack pointer at runtime). The resulting value depends on the control flow path (e.g., loops and branches taken). Before the function returns, the plugin mixes this local variable into the latent_entropy global variable. The value of this global variable is added to the kernel entropy pool in do_one_initcall() and _do_fork(), though it does not credit any bytes of entropy to the pool; the contents of the global are just used to mix the pool. Additionally, the plugin can pre-initialize arrays with build-time random contents, so that two different kernel builds running on identical hardware will not have the same starting values. Signed-off-by: Emese Revfy <re.emese@gmail.com> [kees: expanded commit message and code comments] Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'drivers/usb/gadget')