Wenwen Wang
375ab446ec
net: myri10ge: fix memory leaks
...
[ Upstream commit 20fb7c7a39 ]
In myri10ge_probe(), myri10ge_alloc_slices() is invoked to allocate slices
related structures. Later on, myri10ge_request_irq() is used to get an irq.
However, if this process fails, the allocated slices related structures are
not deallocated, leading to memory leaks. To fix this issue, revise the
target label of the goto statement to 'abort_with_slices'.
Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu >
Signed-off-by: David S. Miller <davem@davemloft.net >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2019-09-10 10:33:46 +01:00
..
2019-08-16 10:12:48 +02:00
2019-08-04 09:30:53 +02:00
2019-08-29 08:28:45 +02:00
2019-08-09 17:52:29 +02:00
2019-09-06 10:21:56 +02:00
2019-08-09 17:52:28 +02:00
2019-09-06 10:21:57 +02:00
2019-09-10 10:33:43 +01:00
2019-09-06 10:22:20 +02:00
2019-04-05 22:33:10 +02:00
2019-07-31 07:27:10 +02:00
2019-08-29 08:28:49 +02:00
2019-07-26 09:14:12 +02:00
2019-03-19 13:12:38 +01:00
2019-08-16 10:12:46 +02:00
2019-02-12 19:47:08 +01:00
2019-09-06 10:22:21 +02:00
2019-05-22 07:37:40 +02:00
2018-08-18 11:04:51 -07:00
2019-09-06 10:21:56 +02:00
2019-07-28 08:29:28 +02:00
2019-07-26 09:14:13 +02:00
2019-05-31 06:46:23 -07:00
2018-08-17 16:20:27 -07:00
2019-08-16 10:12:45 +02:00
2019-07-31 07:27:10 +02:00
2019-09-06 10:22:19 +02:00
2019-03-10 07:17:21 +01:00
2019-08-29 08:28:51 +02:00
2019-09-10 10:33:45 +01:00
2019-08-29 08:28:49 +02:00
2019-08-29 08:28:51 +02:00
2019-08-16 10:12:51 +02:00
2018-07-30 20:54:51 -07:00
2019-09-06 10:22:18 +02:00
2019-09-06 10:22:23 +02:00
2019-01-31 08:14:42 +01:00
2019-05-14 19:17:53 +02:00
2019-08-25 10:47:59 +02:00
2019-08-25 10:47:57 +02:00
2019-09-06 12:40:02 +02:00
2019-09-06 10:21:57 +02:00
2019-08-25 10:47:53 +02:00
2019-08-29 08:28:35 +02:00
2019-05-04 09:20:22 +02:00
2019-07-26 09:14:09 +02:00
2018-08-24 14:42:42 +02:00
2019-07-31 07:27:07 +02:00
2019-08-29 08:28:59 +02:00
2019-09-06 10:21:56 +02:00
2019-05-25 18:23:32 +02:00
2019-07-31 07:26:59 +02:00
2018-07-30 23:17:53 -04:00
2019-07-31 07:27:03 +02:00
2019-09-06 10:22:20 +02:00
2019-09-06 10:22:17 +02:00
2019-08-06 19:06:54 +02:00
2018-10-12 17:36:39 +02:00
2019-09-10 10:33:46 +01:00
2019-08-29 08:28:31 +02:00
2018-07-23 15:07:12 +02:00
2019-08-09 17:52:28 +02:00
2019-09-06 10:21:55 +02:00
2019-06-15 11:54:07 +02:00
2019-06-09 09:17:24 +02:00
2019-02-12 19:47:08 +01:00
2019-06-11 12:20:51 +02:00
2019-06-25 11:35:55 +08:00
2019-07-31 07:27:07 +02:00
2018-11-13 11:08:17 -08:00
2019-08-06 19:06:55 +02:00
2019-07-31 07:27:00 +02:00
2019-07-31 07:26:57 +02:00
2019-07-10 09:53:38 +02:00
2019-06-15 11:54:09 +02:00
2019-05-14 19:17:53 +02:00
2019-08-04 09:30:56 +02:00
2019-02-12 19:47:01 +01:00
2019-08-25 10:47:46 +02:00
2019-08-06 19:06:52 +02:00
2019-07-26 09:14:05 +02:00
2019-07-26 09:14:22 +02:00
2018-11-13 11:08:52 -08:00
2019-05-08 07:21:47 +02:00
2018-11-13 11:08:55 -08:00
2019-06-19 08:18:07 +02:00
2019-08-16 10:12:46 +02:00
2018-12-21 14:15:17 +01:00
2019-09-10 10:33:45 +01:00
2018-08-02 13:54:06 +02:00
2019-05-31 06:46:14 -07:00
2019-07-14 08:11:03 +02:00
2019-09-06 10:21:56 +02:00
2019-09-10 10:33:41 +01:00
2019-05-31 06:46:04 -07:00
2019-08-25 10:47:59 +02:00
2019-09-10 10:33:45 +01:00
2018-11-13 11:08:51 -08:00
2019-02-12 19:47:08 +01:00
2019-06-15 11:54:02 +02:00
2019-05-31 06:46:31 -07:00
2019-08-16 10:12:50 +02:00
2018-11-27 16:13:09 +01:00
2019-09-06 10:22:18 +02:00
2019-06-15 11:54:07 +02:00
2019-08-04 09:30:55 +02:00
2019-06-15 11:54:10 +02:00
2019-05-16 19:41:31 +02:00
2019-05-10 17:54:08 +02:00
2019-05-31 06:46:14 -07:00
2019-09-06 10:22:02 +02:00
2019-08-25 10:47:52 +02:00
2018-08-18 11:04:51 -07:00