Re: [PATCH RESEND] nbd: code clean for nbd_genl_status()
From: Josef Bacik
Date: Fri Nov 05 2021 - 06:01:27 EST
On Thu, Nov 04, 2021 at 12:38:23PM +0800, Wu Bo wrote:
> A simple code clean for nbd_genl_status()
>
> Signed-off-by: Wu Bo <wubo40@xxxxxxxxxx>
This isn't ok, genlmsg_reply() free's the reply, this introduces a double free.
Thanks,
Josef