Files
linux/drivers/net/ethernet/microchip/vcap
Jens Emil Schulz Østergaard a3c1e45156 net: microchip: vcap: Fix use-after-free error in kunit test
This is a clear use-after-free error. We remove it, and rely on checking
the return code of vcap_del_rule.

Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/kernel-janitors/[email protected]/
Fixes: c956b9b318 ("net: microchip: sparx5: Adding KUNIT tests of key/action values in VCAP API")
Signed-off-by: Jens Emil Schulz Østergaard <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2024-09-02 10:35:17 +01:00
..