]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop queue-5.15/octeontx2-pf-fix-resource-leakage-in-vf-driver-unbin.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jan 2023 10:04:48 +0000 (11:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jan 2023 10:04:48 +0000 (11:04 +0100)
It broke the build.

queue-5.15/octeontx2-pf-fix-resource-leakage-in-vf-driver-unbin.patch [deleted file]
queue-5.15/series

diff --git a/queue-5.15/octeontx2-pf-fix-resource-leakage-in-vf-driver-unbin.patch b/queue-5.15/octeontx2-pf-fix-resource-leakage-in-vf-driver-unbin.patch
deleted file mode 100644 (file)
index 06098e1..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-From e422a25ea9385a41d9691223032679574f6664ce Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Mon, 9 Jan 2023 11:43:25 +0530
-Subject: octeontx2-pf: Fix resource leakage in VF driver unbind
-
-From: Hariprasad Kelam <hkelam@marvell.com>
-
-[ Upstream commit 53da7aec32982f5ee775b69dce06d63992ce4af3 ]
-
-resources allocated like mcam entries to support the Ntuple feature
-and hash tables for the tc feature are not getting freed in driver
-unbind. This patch fixes the issue.
-
-Fixes: 2da489432747 ("octeontx2-pf: devlink params support to set mcam entry count")
-Signed-off-by: Hariprasad Kelam <hkelam@marvell.com>
-Signed-off-by: Sunil Kovvuri Goutham <sgoutham@marvell.com>
-Link: https://lore.kernel.org/r/20230109061325.21395-1-hkelam@marvell.com
-Signed-off-by: Paolo Abeni <pabeni@redhat.com>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
-index 03b4ec630432..1613638c69a1 100644
---- a/drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
-+++ b/drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c
-@@ -736,6 +736,8 @@ static void otx2vf_remove(struct pci_dev *pdev)
-       unregister_netdev(netdev);
-       if (vf->otx2_wq)
-               destroy_workqueue(vf->otx2_wq);
-+      otx2_mcam_flow_del(vf);
-+      otx2_shutdown_tc(vf);
-       otx2vf_disable_mbox_intr(vf);
-       otx2_detach_resources(&vf->mbox);
-       if (test_bit(CN10K_LMTST, &vf->hw.cap_flag))
--- 
-2.35.1
-
index 0588cd7618e08643ac06627af0ada94fe1718bbf..079723e6105cc6e0f6ad156dacb703475fed0ac4 100644 (file)
@@ -67,7 +67,6 @@ tools-nolibc-fix-the-o_-fcntl-open-macro-definitions.patch
 net-sched-act_mpls-fix-warning-during-failed-attribu.patch
 net-mlx5-fix-ptp-max-frequency-adjustment-range.patch
 net-mlx5e-don-t-support-encap-rules-with-gbp-option.patch
-octeontx2-pf-fix-resource-leakage-in-vf-driver-unbin.patch
 perf-build-properly-guard-libbpf-includes.patch
 igc-fix-pps-delta-between-two-synchronized-end-point.patch
 platform-surface-aggregator-add-missing-call-to-ssam.patch