Re: [v2] nbd:fix memory leak in nbd_get_socket()

From: Josef Bacik
Date: Tue Nov 19 2019 - 11:17:05 EST


On Tue, Nov 19, 2019 at 09:13:34AM -0700, Jens Axboe wrote:
> On 11/18/19 11:09 PM, Sun Ke wrote:
> > Before return NULL,put the sock first.
> >
> > Cc: stable@xxxxxxxxxxxxxxx
> > Fixes: cf1b2326b734 ("nbd: verify socket is supported during setup")
> > Signed-off-by: Sun Ke <sunke32@xxxxxxxxxx>
>
> Please always CC the author of the patch you're fixing.
>
> Mike, Josef - we probably need to get this upstream ASAP.

Yup sorry got distracted,

Reviewed-by: Josef Bacik <josef@xxxxxxxxxxxxxx>

Thanks,

Josef