aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/dmu_traverse.c
diff options
context:
space:
mode:
authorChunwei Chen <[email protected]>2016-05-23 11:58:21 -0700
committerBrian Behlendorf <[email protected]>2016-05-25 14:11:53 -0700
commit4442f60d8e959e9983e58ff534e7302ebf2f9d7e (patch)
tree1cc68680db5bed9af9d10824d6449531a044724b /module/zfs/dmu_traverse.c
parent83426735026cefc9d8d566615064faaf55074897 (diff)
Fix arc_prune_task use-after-free
arc_prune_task uses a refcount to protect arc_prune_t, but it doesn't prevent the underlying zsb from disappearing if there's a concurrent umount. We fix this by force the caller of arc_remove_prune_callback to wait for arc_prune_taskq to finish. Signed-off-by: Chunwei Chen <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #4687 Closes #4690
Diffstat (limited to 'module/zfs/dmu_traverse.c')
0 files changed, 0 insertions, 0 deletions