Skip to contentSkip to conversation

dmaengine: idxd: fix duplicate memory frees on initialization error path

PATCH Bogdan Codres 1 participant 1 message Jun 29 1 message not in the archive dmaengine

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Vinicius, Steve,
Thanks for the heads-up. I'm totally fine with being added as

on Steve's patch — his fix addresses the same issue I was seeing.

You can use my splat ad the reproducer.

Regarding the third patch for the dangling ->wq pointer — the idxd->wq = NULL after destroy_workqueue() looks reasonable to me.

Best regards, Bogdan