]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: DR, Fix the SMFS sync_steering for fast teardown
authorYevgeny Kliteynik <kliteyn@nvidia.com>
Sun, 24 Jul 2022 21:59:44 +0000 (00:59 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 27 Oct 2022 14:50:37 +0000 (15:50 +0100)
commitc4193a1281ac6c209e1586b8ff07297b5a9cd8ad
tree477881c3e93e5c3de944fab1b912d9edac67c735
parent14335d54e721bdfa098d2972e5a0cc742c30c1ad
net/mlx5: DR, Fix the SMFS sync_steering for fast teardown

If sync happens when the device is in fast teardown, just bail
and don't do anything, because the PCI device is not there any more.

Signed-off-by: Yevgeny Kliteynik <kliteyn@nvidia.com>
Reviewed-by: Alex Vesker <valex@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_cmd.c