Wei Yongjun
23d70503ee
IB/core: Fix possible memory leak in cma_resolve_iboe_route()
...
'work' and 'route->path_rec' are malloced in cma_resolve_iboe_route()
and should be freed before leaving from the error handling cases,
otherwise it will cause memory leak.
Fixes: 200298326b27 ('IB/core: Validate route when we init ah')
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Reviewed-by: Haggai Eran <haggaie@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-08-22 14:26:54 -04:00
..
2016-05-24 14:44:04 -04:00
2015-10-08 11:09:10 +01:00
2015-06-12 14:49:18 -04:00
2016-06-23 10:03:57 -04:00
2015-05-05 13:21:27 -04:00
2016-06-06 18:55:53 -04:00
2016-03-06 16:11:24 +01:00
2016-08-22 14:26:54 -04:00
2016-05-24 14:44:04 -04:00
2015-12-11 14:10:43 -08:00
2016-06-23 12:08:33 -04:00
2016-03-03 10:20:25 -05:00
2016-08-02 13:15:18 -04:00
2016-08-02 13:15:18 -04:00
2016-06-06 19:36:21 -04:00
2016-08-03 21:03:33 -04:00
2016-03-16 13:48:32 -04:00
2016-01-19 15:25:45 -05:00
2015-06-12 14:49:18 -04:00
2016-06-06 19:36:21 -04:00
2016-05-24 14:42:36 -04:00
2016-05-13 13:37:18 -04:00
2016-08-03 21:06:46 -04:00
2016-08-02 13:14:27 -04:00
2015-07-14 13:20:08 -04:00
2016-03-03 10:20:25 -05:00
2015-12-23 10:35:12 -05:00
2016-08-02 12:02:41 -04:00
2016-08-03 21:03:36 -04:00
2015-07-14 13:20:08 -04:00
2015-07-14 13:20:08 -04:00
2016-08-04 20:10:31 -04:00
2016-04-28 12:03:16 -04:00
2016-08-03 21:06:46 -04:00
2016-03-03 10:20:25 -05:00
2016-02-16 10:04:09 +01:00
2014-12-15 18:13:36 -08:00
2016-08-04 08:50:07 -04:00
2016-01-19 15:25:36 -05:00
2016-06-23 11:02:45 -04:00
2016-08-04 11:13:47 -04:00
2015-12-23 10:35:10 -05:00
2016-08-04 11:13:47 -04:00
2016-08-04 20:26:31 -04:00