Hi, > -----Original Message----- > From: Adham Masarwah <[email protected]> > Sent: Wednesday, February 23, 2022 11:32 AM > To: [email protected] > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) <[email protected]>; > Matan Azrad <[email protected]>; Slava Ovsiienko > <[email protected]>; Tal Shnaiderman <[email protected]>; Tamer > Hleihel <[email protected]>; [email protected]; [email protected] > Subject: [PATCH] net/mlx5: fix destroying empty matchers list > > The table remove callback function is trying to destroy the > matchers list associated with table entries without checking > if the list is valid, which causes nullptr dereference. > Fixed by validating the matchers list before destroying it. > > Issue can be reproduced with testpmd on Windows, when you run: > port close all > > Fixes: 1872635570be ("net/mlx5: make matcher list thread safe") > Cc: [email protected] > > Signed-off-by: Adham Masarwah <[email protected]> > Acked-by: Viacheslav Ovsiienko <[email protected]>
Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh

