diff options
author | Subbaraya Sundeep <sbhatta@marvell.com> | 2022-08-03 13:24:14 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-05 18:56:34 -0700 |
commit | 3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48 (patch) | |
tree | b3e073e8a904f98021e5a25efc0883f5b42720a3 /lib/mpi/mpi-sub-ui.c | |
parent | cf2437626502b5271d19686b03dea306efe17ea0 (diff) |
octeontx2-af: Fix mcam entry resource leak
The teardown sequence in FLR handler returns if no NIX LF
is attached to PF/VF because it indicates that graceful
shutdown of resources already happened. But there is a
chance of all allocated MCAM entries not being freed by
PF/VF. Hence free mcam entries even in case of detached LF.
Fixes: c554f9c1574e ("octeontx2-af: Teardown NPA, NIX LF upon receiving FLR")
Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions