summaryrefslogtreecommitdiff
path: root/drivers/dax
diff options
context:
space:
mode:
authorDenis Bolotin <denis.bolotin@cavium.com>2018-11-08 16:46:09 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-27 16:13:07 +0100
commitb2e5004e1e024e7f919bade2723c7c28fc3b56df (patch)
tree48302afc91b5e1441cc21983b40e77f6e23fd0ae /drivers/dax
parent66473b0ac3afe9ccd4126424aa3054c95050dfdc (diff)
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/dax')
0 files changed, 0 insertions, 0 deletions