aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/smc
diff options
context:
space:
mode:
authorPrzemek Kitszel <przemyslaw.kitszel@intel.com>2023-08-08 17:54:17 -0400
committerTony Nguyen <anthony.l.nguyen@intel.com>2023-08-17 13:59:46 -0700
commitfb9840c4ec13629f36c5e0e88a5df78ca2acc3e0 (patch)
tree42f8809881d0ac9afc22165d5bf64b5c6a06aa4a /net/smc
parentice: embed &ice_rq_event_info event into struct ice_aq_task (diff)
downloadwireguard-linux-fb9840c4ec13629f36c5e0e88a5df78ca2acc3e0.tar.xz
wireguard-linux-fb9840c4ec13629f36c5e0e88a5df78ca2acc3e0.zip
ice: split ice_aq_wait_for_event() func into two
Mitigate race between registering on wait list and receiving AQ Response from FW. ice_aq_prep_for_event() should be called before sending AQ command, ice_aq_wait_for_event() should be called after sending AQ command, to wait for AQ Response. Please note, that this was found by reading the code, an actual race has not yet materialized. Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Przemek Kitszel <przemyslaw.kitszel@intel.com> Reviewed-by: Simon Horman <horms@kernel.org> Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel) Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions