summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/proc.py
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2025-01-16 18:29:00 +0300
committerJakub Kicinski <kuba@kernel.org>2025-01-23 06:52:48 +0300
commit6bb194d036c6e1b329dcdff459338cdd9a54802a (patch)
tree73c53391c13e1524bd86f4e3968aebc226cf7042 /scripts/gdb/linux/proc.py
parentd31a49d37cb132b31cc6683eef2122f8609d6229 (diff)
downloadlinux-6bb194d036c6e1b329dcdff459338cdd9a54802a.tar.xz
net/ncsi: wait for the last response to Deselect Package before configuring channel
The NCSI state machine as it's currently implemented assumes that transition to the next logical state is performed either explicitly by calling `schedule_work(&ndp->work)` to re-queue itself or implicitly after processing the predefined (ndp->pending_req_num) number of replies. Thus to avoid the configuration FSM from advancing prematurely and getting out of sync with the process it's essential to not skip waiting for a reply. This patch makes the code wait for reception of the Deselect Package response for the last package probed before proceeding to channel configuration. Thanks go to Potin Lai and Cosmo Chou for the initial investigation and testing. Fixes: 8e13f70be05e ("net/ncsi: Probe single packages to avoid conflict") Cc: stable@vger.kernel.org Signed-off-by: Paul Fertser <fercerpav@gmail.com> Link: https://patch.msgid.link/20250116152900.8656-1-fercerpav@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions