mirror_zfs/module
loli10K 880a37aa35 Prevent NULL pointer dereference in blkg_tryget() on EL8 kernels
blkg_tryget() as shipped in EL8 kernels does not seem to handle NULL
@blkg as input; this is different from its mainline counterpart where
NULL is accepted.  To prevent dereferencing a NULL pointer when dealing
with block devices which do not set a root_blkg on the request queue
perform the NULL check in vdev_bio_associate_blkg().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #9546
Closes #9577
2020-01-22 13:49:04 -08:00
..
avl Fix typos in module/ 2020-01-22 13:48:59 -08:00
icp Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
lua Fix typos in module/ 2020-01-22 13:48:59 -08:00
nvpair Fix typos in module/ 2020-01-22 13:48:59 -08:00
spl Add missing documentation for some KMC flags 2020-01-22 13:49:04 -08:00
unicode Update build system and packaging 2018-05-29 16:00:33 -07:00
zcommon Fix pool creation with feature@allocation_classes disabled 2020-01-22 13:49:02 -08:00
zfs Prevent NULL pointer dereference in blkg_tryget() on EL8 kernels 2020-01-22 13:49:04 -08:00
.gitignore Prepare SPL repo to merge with ZFS repo 2018-05-29 14:51:39 -07:00
Makefile.in module/Makefile.in: don't run xargs if empty 2020-01-22 13:49:02 -08:00