Skip to content
Commit 8ec9c1d5 authored by Ross Lagerwall's avatar Ross Lagerwall Committed by Bjorn Helgaas
Browse files

PCI: Free released resource after coalescing

release_resource() doesn't actually free the resource or resource list
entry so free the resource list entry to avoid a leak.

Closes: https://lore.kernel.org/r/878r9sga1t.fsf@kernel.org/
Fixes: e5422327 ("PCI: Release resource invalidated by coalescing")
Link: https://lore.kernel.org/r/20230906110846.225369-1-ross.lagerwall@citrix.com


Reported-by: default avatarKalle Valo <kvalo@kernel.org>
Tested-by: default avatarKalle Valo <kvalo@kernel.org>
Signed-off-by: default avatarRoss Lagerwall <ross.lagerwall@citrix.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Cc: stable@vger.kernel.org      # v5.16+
parent 26641b3f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment