[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200530.175001.2096700764244962044.davem@davemloft.net>
Date: Sat, 30 May 2020 17:50:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yangyingliang@...wei.com
Cc: xiyou.wangcong@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net] devinet: fix memleak in inetdev_init()
From: Yang Yingliang <yangyingliang@...wei.com>
Date: Sat, 30 May 2020 11:34:33 +0800
> 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>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists