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
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