[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YYUA67rq5VHea2HV@localhost.localdomain>
Date: Fri, 5 Nov 2021 06:01:15 -0400
From: Josef Bacik <josef@...icpanda.com>
To: Wu Bo <wubo40@...wei.com>
Cc: axboe@...nel.dk, linux-block@...r.kernel.org, nbd@...er.debian.org,
linux-kernel@...r.kernel.org, linfeilong@...wei.com
Subject: Re: [PATCH RESEND] nbd: code clean for nbd_genl_status()
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@...wei.com>
This isn't ok, genlmsg_reply() free's the reply, this introduces a double free.
Thanks,
Josef
Powered by blists - more mailing lists