Messages in this thread | | | Date | Thu, 30 Jul 2020 16:55:57 -0700 (PDT) | Subject | Re: [PATCH] net: nixge: fix potential memory leak in nixge_probe() | From | David Miller <> |
| |
From: Lu Wei <luwei32@huawei.com> Date: Wed, 29 Jul 2020 11:50:05 +0800
> If some processes in nixge_probe() fail, free_netdev(dev) > needs to be called to aviod a memory leak. > > Fixes: 87ab207981ec ("net: nixge: Separate ctrl and dma resources") > Fixes: abcd3d6fc640 ("net: nixge: Fix error path for obtaining mac address") > Reported-by: Hulk Robot <hulkci@huawei.com> > Signed-off-by: Lu Wei <luwei32@huawei.com>
Applied, thank you.
| |