Michael Baum ef4ece4dbb net/mlx5: fix port closing
The shared IB device (sh) has per port data updated in port creation.
In port closing this port data is updated even when the SH still exist.

However, this updating is happened after SH has been released and for
last port it actually accesses to freed memory.

This patch updates the port data before SH releasing.

Fixes: 13c5c093905c ("net/mlx5: fix port event cleaning order")
Cc: stable@dpdk.org

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2022-11-20 13:07:14 +01:00
..
2022-11-15 08:39:14 +01:00
2022-11-21 11:19:10 +01:00
2022-11-15 08:39:14 +01:00
2022-11-15 08:39:14 +01:00
2022-11-15 08:39:14 +01:00
2022-11-15 08:39:14 +01:00
2022-11-20 13:07:14 +01:00