Re: [PATCH net-next] net: rose: add missing dev_put() on error in rose_bind

From: David Miller
Date: Tue Feb 19 2019 - 16:23:51 EST


From: YueHaibing <yuehaibing@xxxxxxxxxx>
Date: Tue, 19 Feb 2019 16:06:22 +0800

> when capable check failed, dev_put should
> be call before return -EACCES.
>
> Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx>

Applied.