Re: [RFC 0/3] block: address blktrace use-after-free

From: Bart Van Assche
Date: Fri Apr 03 2020 - 10:13:52 EST


On 2020-04-03 01:19, Ming Lei wrote:
> BTW, Yu Kuai posted one patch for this issue, looks that approach
> is simpler:
>
> https://lore.kernel.org/linux-block/20200324132315.22133-1-yukuai3@xxxxxxxxxx/

That approach is indeed simpler but at the expense of performing dynamic
memory allocation in a cleanup path, something I'm not enthusiast about.

Bart.