YueHaibing 63135ee0a6 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>
2018-07-26 14:05:11 -07:00
..
2018-03-23 13:12:18 -04:00
2018-03-27 13:18:09 -04:00
2018-07-21 16:23:22 -07:00
2018-07-21 16:23:22 -07:00
2018-07-21 16:23:22 -07:00
2016-07-26 14:26:42 -07:00