Displaying 1 result from an estimated 1 matches for "ldi_ioctl".
2009 Apr 09
3
vdev_disk_io_start() sending NULL pointer in ldi_ioctl()
Hi All,
I have corefile where we see NULL pointer de-reference PANIC as we have
sent (deliberately) NULL pointer for return value.
vdev_disk_io_start()
...
...
error = ldi_ioctl(dvd->vd_lh, zio->io_cmd,
(uintptr_t)&zio->io_dk_callback,
FKIOCTL, kcred, NULL);
ldi_ioctl() expects last parameter as an integer pointer ( int *rvalp).
I see that in strdoictl(). Corefile I am analysing has similar BAD trap...