Files
mirror_zfs/module/os/freebsd/zfs
Alexander Motin 139690d6c3 Really zero the zero page
While switching abd_zero_buf allocation KPI I've missed the fact
that kmem_zalloc() zeroed the allocation, while kmem_cache_alloc()
does not.  Add explicit bzero() after it.

I don't think it should have caused real problems, but leaking one
memory page content all over the pool is not good.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Brian Atkinson <batkinson@lanl.gov>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Alexander Motin <mav@FreeBSD.org>
Closes #12569
2021-09-17 10:17:18 -07:00
..
2021-09-17 10:17:18 -07:00
2021-05-24 14:42:45 -06:00
2020-04-14 11:36:28 -07:00
2021-09-14 10:17:54 -06:00
2021-07-26 12:07:26 -07:00
2021-06-22 21:53:45 -07:00
2021-06-22 21:53:45 -07:00
2021-09-14 10:17:54 -06:00
2021-07-26 12:07:53 -07:00
2021-07-22 10:22:14 -06:00