françois romieu
892a925e42
8139cp: fix coherent mapping leak in error path.
...
cp_open
[...]
rc = cp_alloc_rings(cp);
if (rc)
return rc;
cp_alloc_rings
[...]
mem = dma_alloc_coherent(&cp->pdev->dev, CP_RING_BYTES,
&cp->ring_dma, GFP_KERNEL);
- cp_alloc_rings never frees the coherent mapping it allocates
- neither do cp_open when cp_alloc_rings fails
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-12-01 20:39:17 -05:00
..
2012-09-01 10:33:05 -07:00
2012-11-20 13:48:49 -05:00
2012-10-06 03:04:42 +09:00
2012-04-06 00:17:50 -04:00
2012-06-06 09:31:33 -07:00
2012-03-28 18:30:03 +01:00
2012-10-07 14:37:11 -04:00
2012-06-06 09:31:33 -07:00
2012-10-06 03:04:42 +09:00
2012-11-23 14:17:36 -05:00
2012-09-27 18:31:58 -04:00
2012-09-20 22:21:40 -04:00
2012-10-07 00:40:54 -04:00
2012-11-07 19:02:19 -05:00
2012-08-31 15:48:56 -04:00
2012-07-10 23:24:56 -07:00
2012-05-14 18:40:16 -04:00
2012-10-07 14:37:04 -04:00
2012-10-06 03:04:42 +09:00
2012-10-09 13:54:59 -04:00
2012-07-18 09:40:53 -07:00
2012-11-09 17:08:36 -05:00
2012-05-17 16:37:41 -04:00
2012-06-06 09:31:33 -07:00
2012-09-22 18:11:32 -04:00
2012-10-06 03:16:12 +09:00
2012-02-06 11:52:27 -05:00
2012-11-01 11:22:34 -04:00
2012-11-03 15:10:15 -04:00
2012-11-28 11:15:32 -05:00
2012-11-14 21:50:10 -05:00
2012-02-15 15:34:17 -05:00
2012-08-23 10:11:14 -06:00
2012-10-07 14:37:12 -04:00
2012-10-02 09:54:49 -07:00
2012-02-08 18:46:38 -05:00
2012-08-30 13:04:57 -04:00
2012-11-02 21:36:06 -04:00
2012-10-09 16:08:04 +09:00
2012-10-24 23:04:31 -04:00
2012-04-07 11:45:26 +02:00
2012-09-27 13:20:50 -04:00
2012-10-22 15:16:07 -04:00
2012-02-08 18:46:38 -05:00
2012-07-09 14:42:30 -07:00
2012-12-01 20:39:17 -05:00
2012-10-07 14:37:12 -04:00
2012-09-22 10:24:29 -07:00
2012-10-07 14:52:14 -04:00
2012-08-06 09:48:31 -07:00
2012-04-07 11:45:27 +02:00
2012-11-18 18:28:15 -05:00
2012-11-14 21:50:10 -05:00
2012-10-07 00:40:54 -04:00
2012-10-07 14:37:12 -04:00
2012-07-10 23:13:46 -07:00
2012-10-24 23:07:36 -04:00
2012-11-16 01:40:41 -05:00
2012-07-10 23:13:46 -07:00
2012-08-30 13:08:37 -04:00
2012-06-06 09:31:33 -07:00
2012-08-24 13:30:27 -04:00
2012-11-20 15:51:55 -05:00
2012-03-28 18:30:03 +01:00
2012-11-20 15:12:44 -05:00
2012-04-04 05:28:46 -04:00
2012-07-16 22:38:27 -07:00
2012-10-06 03:04:42 +09:00
2012-11-14 21:50:10 -05:00
2012-02-22 14:44:41 -05:00
2012-09-24 16:47:23 -04:00
2012-03-28 18:30:03 +01:00
2012-07-16 22:38:27 -07:00
2012-09-24 16:47:23 -04:00
2012-09-14 11:17:36 +02:00
2012-05-22 19:22:50 -07:00