[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160720.144819.2077098867499042858.davem@davemloft.net>
Date: Wed, 20 Jul 2016 14:48:19 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: weiyj_lk@....com
Cc: florian@...nwrt.org, varkab@...c.in, yongjun_wei@...ndmicro.com.cn,
netdev@...r.kernel.org
Subject: Re: [PATCH -next] net: cpmac: fix error handling of cpmac_probe()
From: Wei Yongjun <weiyj_lk@....com>
Date: Tue, 19 Jul 2016 12:37:53 +0000
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> Add the missing free_netdev() before return from function
> cpmac_probe() in the error handling case.
> This patch revert commit 0465be8f4f1d ("net: cpmac: fix in
> releasing resources"), which changed to only free_netdev
> while register_netdev failed.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
Applied.
Powered by blists - more mailing lists