diff options
author | 2023-02-28 10:36:19 +0200 | |
---|---|---|
committer | 2023-03-15 15:50:17 -0700 | |
commit | 031a163f2c476adcb2c01e27a7d323e66174ac11 (patch) | |
tree | 11b503784c65646bde9a46f72727011bcec0c84e /scripts/generate_rust_analyzer.py | |
parent | net/mlx5e: kTLS, Fix missing error unwind on unsupported cipher type (diff) | |
download | wireguard-linux-031a163f2c476adcb2c01e27a7d323e66174ac11.tar.xz wireguard-linux-031a163f2c476adcb2c01e27a7d323e66174ac11.zip |
net/mlx5: Set BREAK_FW_WAIT flag first when removing driver
Currently, BREAK_FW_WAIT flag is set after syncing with fw_reset.
However, fw_reset can call mlx5_load_one() which is waiting for fw
init bit and BREAK_FW_WAIT flag is intended to stop. e.g.: the driver
might wait on a loop it should exit.
Fix it by setting the flag before syncing with fw_reset.
Fixes: 8324a02c342a ("net/mlx5: Add exit route when waiting for FW")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions