diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-02-19 16:06:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-19 13:22:46 -0800 |
commit | 3b9c9f3b0b0293a52c0edd033d9df3a6b0e06f62 (patch) | |
tree | 537857ad40f73eb0f8449d7923008d7a267902eb /net/hsr | |
parent | a968b5e9d5879f9535d6099505f9e14abcafb623 (diff) | |
download | linux-3b9c9f3b0b0293a52c0edd033d9df3a6b0e06f62.tar.bz2 |
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: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr')
0 files changed, 0 insertions, 0 deletions