Brian Behlendorf
72841b9fd9
Preserve itx alloc size for zio_data_buf_free()
...
Using zio_data_buf_alloc() to allocate the itx's may be unsafe
because the itx->itx_lr.lrc_reclen field is not constant from
allocation to free. Using a different itx->itx_lr.lrc_reclen
size in zio_data_buf_free() can result in the allocation being
returned to the wrong kmem cache.
This issue can be avoided entirely by storing the allocation size
in itx->itx_size and using that for zio_data_buf_free().
Reviewed by: Prakash Surya <prakash.surya@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #6912
2017-12-04 11:44:39 -08:00
..
2016-10-03 14:51:15 -07:00
2017-08-14 10:36:48 -07:00
2017-11-30 09:40:13 -08:00
2017-10-23 09:45:59 -07:00
2017-06-30 11:11:01 -07:00
2017-10-11 16:55:50 -04:00
2017-11-15 17:27:01 -08:00
2017-10-05 19:28:00 -07:00
2017-07-07 11:28:01 -07:00
2017-11-11 20:24:34 -08:00
2017-08-14 10:36:48 -07:00
2017-03-07 09:51:59 -08:00
2017-08-14 10:36:48 -07:00
2017-10-10 15:30:51 -07:00
2017-08-14 10:36:48 -07:00
2017-03-07 09:51:59 -08:00
2016-08-30 14:26:55 -07:00
2017-10-11 16:55:50 -04:00
2017-09-05 16:15:04 -07:00
2017-08-14 10:36:48 -07:00
2017-10-12 17:10:38 -07:00
2017-08-14 10:36:48 -07:00
2017-08-14 10:36:48 -07:00
2017-11-15 17:27:01 -08:00
2016-01-12 10:53:12 -08:00
2017-11-15 17:27:01 -08:00
2016-10-03 14:51:15 -07:00
2017-01-03 11:31:18 -06:00
2017-10-11 16:54:48 -04:00
2017-10-11 16:54:48 -04:00
2017-01-26 15:27:19 -08:00
2017-01-12 11:52:56 -08:00
2017-07-25 13:22:20 -04:00
2016-04-05 18:55:59 -07:00
2017-03-20 18:36:00 -07:00
2016-04-21 09:49:25 -07:00
2016-06-07 09:16:52 -07:00
2017-11-15 17:27:01 -08:00
2017-10-27 12:46:35 -07:00
2016-06-24 13:13:21 -07:00
2016-12-01 16:39:06 -07:00
2017-07-25 23:09:48 -07:00
2016-10-03 14:51:15 -07:00
2016-10-03 14:51:15 -07:00
2016-06-02 14:30:51 -07:00
2017-11-15 17:27:01 -08:00
2017-11-04 13:25:13 -07:00
2017-07-12 21:28:13 -07:00
2017-01-24 08:50:15 -08:00
2017-01-24 08:50:15 -08:00
2016-05-26 10:11:51 -07:00
2017-07-25 23:09:48 -07:00
2017-08-09 11:04:41 -07:00
2017-03-07 09:51:59 -08:00
2017-01-24 08:50:15 -08:00
2017-01-24 08:50:15 -08:00
2017-01-24 08:50:15 -08:00
2017-06-09 09:15:37 -07:00
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2017-01-03 11:31:18 -06:00
2017-05-10 13:52:22 -04:00
2017-07-24 13:47:51 -04:00
2017-07-13 13:54:00 -04:00
2016-08-11 11:19:34 -07:00
2016-12-21 10:47:15 -08:00
2017-11-15 17:27:01 -08:00
2016-12-12 10:46:26 -08:00
2016-12-12 10:46:26 -08:00
2017-08-21 10:05:16 -07:00
2017-01-03 11:31:18 -06:00
2017-03-07 09:51:59 -08:00
2017-02-02 14:13:41 -08:00
2016-05-17 11:52:07 -07:00
2017-03-10 09:51:33 -08:00
2017-10-30 14:47:20 -07:00
2017-03-10 09:51:33 -08:00
2017-07-25 23:09:48 -07:00
2017-03-10 09:51:33 -08:00
2017-03-10 09:51:33 -08:00
2017-08-23 16:54:24 -07:00
2017-05-04 19:26:28 -04:00
2017-03-10 09:51:33 -08:00
2017-05-02 09:46:18 -07:00
2017-03-10 09:51:35 -08:00
2017-10-27 12:46:35 -07:00
2017-10-26 12:57:53 -07:00
2017-12-04 11:44:39 -08:00
2017-03-29 12:24:51 -07:00
2016-11-29 14:34:27 -08:00
2017-10-11 16:54:48 -04:00
2017-08-14 10:36:48 -07:00
2016-05-12 12:36:32 -07:00
2017-08-14 15:17:15 -07:00
2016-12-12 10:46:26 -08:00
2017-01-12 09:42:11 -08:00
2017-07-12 13:05:37 -07:00