summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/mvneta_bm.c
diff options
context:
space:
mode:
authorDenis Bolotin <denis.bolotin@cavium.com>2018-11-08 17:46:09 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-27 18:09:39 +0300
commite90f343311c815c03a3f32e90c88d22ab52a6caa (patch)
tree2ce04ef53b4a88bfeed696a7f6c6d123ecc4b029 /drivers/net/ethernet/marvell/mvneta_bm.c
parent897d6d429b6cfc1098e93c41f88f8d5d2f16157a (diff)
downloadlinux-e90f343311c815c03a3f32e90c88d22ab52a6caa.tar.xz
qed: Fix blocking/unlimited SPQ entries leak
[ Upstream commit 2632f22ebd08da249c2017962a199a0cfb2324bf ] When there are no SPQ entries left in the free_pool, new entries are allocated and are added to the unlimited list. When an entry in the pool is available, the content is copied from the original entry, and the new entry is sent to the device. qed_spq_post() is not aware of that, so the additional entry is stored in the original entry as p_post_ent, which can later be returned to the pool. Signed-off-by: Denis Bolotin <denis.bolotin@cavium.com> Signed-off-by: Michal Kalderon <michal.kalderon@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvneta_bm.c')
0 files changed, 0 insertions, 0 deletions