Hi, > -----Original Message----- > From: Michael Baum <[email protected]> > Sent: Thursday, November 17, 2022 5:28 PM > To: [email protected] > Cc: Matan Azrad <[email protected]>; Raslan Darawsheh > <[email protected]>; Slava Ovsiienko <[email protected]>; Michael > Baum <[email protected]> > Subject: [PATCH] net/mlx5: fix invalid memory access in 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: [email protected] > > Signed-off-by: Michael Baum <[email protected]> > Acked-by: Matan Azrad <[email protected]>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

