freebsd-dev/sys/dev/virtio/block
Mitchell Horne 6f5141456e vtblk: secondary fix for dumping
The code paths while dumping do not got through busdma. As such,
safeguard against calling bus_dmamap_sync() with a NULL map. The x86
implementation tolerates this but others do not, resulting in a
NULL dereference panic when dumping to a vtblk device on arm64, riscv,
etc.

Fixes:		782105f7c8 ("vtblk: Use busdma")
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37990
2023-01-23 15:21:36 -04:00
..
virtio_blk.c vtblk: secondary fix for dumping 2023-01-23 15:21:36 -04:00
virtio_blk.h virtio_blk: Add modern (V1) support 2021-01-19 04:55:24 +00:00