Re: [PATCH net] net: sit: fix memory leak in sit_init_net()
From: David Miller
Date: Sat Mar 02 2019 - 03:54:18 EST
From: Mao Wenan <maowenan@xxxxxxxxxx>
Date: Fri, 1 Mar 2019 23:06:40 +0800
> If register_netdev() is failed to register sitn->fb_tunnel_dev,
> it will go to err_reg_dev and forget to free netdev(sitn->fb_tunnel_dev).
...
> Signed-off-by: Mao Wenan <maowenan@xxxxxxxxxx>
Applied and queued up for -stable, thank you.