]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
octeontx2-pf: Fix memory leak during interface down
authorSuman Ghosh <sumang@marvell.com>
Fri, 17 Nov 2023 10:40:18 +0000 (16:10 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 3 Dec 2023 06:32:07 +0000 (07:32 +0100)
commitcfbdb367277e3935e3b4da412d8528df640c36c5
tree19d35f360bee5e37b5f8492aec432b9a14199e75
parent4206f46d3f04f7244fca3b57a0786d917b178707
octeontx2-pf: Fix memory leak during interface down

[ Upstream commit 5f228d7c8a539714c1e9b7e7534f76bb7979f268 ]

During 'ifconfig <netdev> down' one RSS memory was not getting freed.
This patch fixes the same.

Fixes: 81a4362016e7 ("octeontx2-pf: Add RSS multi group support")
Signed-off-by: Suman Ghosh <sumang@marvell.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c