summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorDave Ertman <david.m.ertman@intel.com>2019-02-13 21:51:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-31 16:43:49 +0300
commitd060bb09ed80be73fa3999bf968e461c3530689a (patch)
tree325f81f739c85129732f0cca30b406743daebf3d /security
parent3f0fe090c40333a2f9fa42fb220dbbff9afb8683 (diff)
downloadlinux-d060bb09ed80be73fa3999bf968e461c3530689a.tar.xz
ice: Prevent unintended multiple chain resets
[ Upstream commit 2ebd4428d93a2f6ce0c813b10a1a43b6a8241fe5 ] In the current implementation of ice_reset_subtask, if multiple reset types are set in the pf->state, the most intrusive one is meant to be performed only, but the bits requesting the other types are not being cleared. This would lead to another reset being performed the next time the service task is scheduled. Change the flow of ice_reset_subtask so that all reset request bits in pf->state are cleared, and we still perform the most intrusive of the resets requested. Signed-off-by: Dave Ertman <david.m.ertman@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions