aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorSubbaraya Sundeep <sbhatta@marvell.com>2022-08-03 13:24:14 +0530
committerJakub Kicinski <kuba@kernel.org>2022-08-05 18:56:34 -0700
commit3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48 (patch)
treeb3e073e8a904f98021e5a25efc0883f5b42720a3 /virt
parentocteontx2-af: suppress external profile loading warning (diff)
downloadlinux-dev-3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48.tar.xz
linux-dev-3f8fe40ab7730cf8eb6f8b8ff412012f7f6f8f48.zip
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 'virt')
0 files changed, 0 insertions, 0 deletions