lkml.org 
[lkml]   [2021]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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@huawei.com>

This isn't ok, genlmsg_reply() free's the reply, this introduces a double free.
Thanks,

Josef

\
 
 \ /
  Last update: 2021-11-05 11:01    [W:0.056 / U:0.448 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site