Tommi Rantala 19142551b2 tipc: error path leak fixes in tipc_enable_bearer()
Fix memory leak in tipc_enable_bearer() if enable_media() fails, and
cleanup with bearer_disable() if tipc_mon_create() fails.

Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-12-27 10:54:59 -05:00
..
2015-05-14 12:24:45 -04:00
2017-10-13 08:46:00 -07:00
2015-03-05 22:08:42 -05:00
2017-11-03 15:48:46 +09:00
2016-07-26 14:26:42 -07:00
2017-10-26 09:38:34 +09:00
2016-08-18 23:36:07 -07:00
2017-08-23 22:31:38 -07:00
2017-10-13 08:46:00 -07:00
2017-12-13 13:44:36 -05:00