[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Aug 2023 17:54:14 -0400
From: Przemek Kitszel <przemyslaw.kitszel@...el.com>
To: intel-wired-lan@...ts.osuosl.org
Cc: netdev@...r.kernel.org,
Jacob Keller <jacob.e.keller@...el.com>,
Tony Nguyen <anthony.l.nguyen@...el.com>,
Simon Horman <horms@...nel.org>,
Przemek Kitszel <przemyslaw.kitszel@...el.com>
Subject: [PATCH iwl-next v4 0/3] ice: split ice_aq_wait_for_event() func into two
Mitigate race between registering on wait list and receiving
AQ Response from FW.
The first patch fixes bound check to be more inclusive;
the second one refactors code to make the third one smaller,
which is an actual fix for the race.
Thanks Simon Horman for pushing into split, it's easier to follow now.
v4: remove excessive newlines, thanks Tony for catching this up
v3: split into 3 commits
Przemek Kitszel (3):
ice: ice_aq_check_events: fix off-by-one check when filling buffer
ice: embed &ice_rq_event_info event into struct ice_aq_task
ice: split ice_aq_wait_for_event() func into two
drivers/net/ethernet/intel/ice/ice.h | 21 +++-
.../net/ethernet/intel/ice/ice_fw_update.c | 45 +++++----
drivers/net/ethernet/intel/ice/ice_main.c | 99 ++++++++++---------
3 files changed, 93 insertions(+), 72 deletions(-)
base-commit: b91d6ff19e94ec46cf6473e7d50ec11615e9ede6
--
2.40.1
Powered by blists - more mailing lists