[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpWG7kH7EDC4t5nnPhunTqHiaKycRhv+qxzsmTdvOin8Cw@mail.gmail.com>
Date: Fri, 29 May 2020 21:39:39 -0700
From: Cong Wang <xiyou.wangcong@...il.com>
To: Yang Yingliang <yangyingliang@...wei.com>
Cc: David Miller <davem@...emloft.net>,
Linux Kernel Network Developers <netdev@...r.kernel.org>
Subject: Re: [PATCH net] devinet: fix memleak in inetdev_init()
On Fri, May 29, 2020 at 8:11 PM Yang Yingliang <yangyingliang@...wei.com> wrote:
>
> When devinet_sysctl_register() failed, the memory allocated
> in neigh_parms_alloc() should be freed.
>
> Fixes: 20e61da7ffcf ("ipv4: fail early when creating netdev named all or default")
> Signed-off-by: Yang Yingliang <yangyingliang@...wei.com>
Acked-by: Cong Wang <xiyou.wangcong@...il.com>
Thanks.
Powered by blists - more mailing lists