Skip to content
Commit 3b9c9f3b authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

net: rose: add missing dev_put() on error in rose_bind



when capable check failed, dev_put should
be call before return -EACCES.

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a968b5e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment