diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-07-25 12:00:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-26 23:05:11 +0200 |
commit | 63135ee0a6e5f5a5ad1345e48099e62d3d617a81 (patch) | |
tree | b98bb664f42379e567073e0fa530cbd4b1638c0f /net/l2tp | |
parent | net/tls: Removed redundant checks for non-NULL (diff) | |
download | linux-63135ee0a6e5f5a5ad1345e48099e62d3d617a81.tar.xz linux-63135ee0a6e5f5a5ad1345e48099e62d3d617a81.zip |
tipc: add missing dev_put() on error in tipc_enable_l2_media
when tipc_own_id failed to obtain node identity,dev_put should
be call before return -EINVAL.
Fixes: 682cd3cf946b ("tipc: confgiure and apply UDP bearer MTU on running links")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions