Skip to content

blk-mq error handling memory leak

Jes Sorensen linux-block 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/1blk-mq: Fix memory leak in error handlingblock/blk-mq.c+4 -11 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] blk-mq error handling memory leak

From: Jes Sorensen <[email protected]>

Hi,

Digging through this, I don't see the callback data getting freed in case of errors in blk_mq_init_allocated_queue() unless I am missing some obscure path that cleans it up later?

Cheers,
Jes

Jes Sorensen (1):
blk-mq: Fix memory leak in error handling

 block/blk-mq.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.17.1