freebsd-dev/sys/cam/ata
Alexander Motin 6a216c0bb5 Take proper lock in ses_setphyspath_callback().
XPT_DEV_ADVINFO call should be protected by the lock of the specific
device it is addressed to, not the lock of SES device.  In some weird
case, probably with hardware violating standards, it sometimes caused
NULL dereference due to race.

To protect from it further, add lock assertion to *_dev_advinfo().

MFC after:	1 week
Sponsored by:	iXsystems, Inc.
2019-08-29 17:02:02 +00:00
..
ata_all.c Make camcontrol sanitize support also ATA devices. 2019-07-25 18:48:31 +00:00
ata_all.h Replay r349340 by imp accidentally reverted by r349352 2019-06-25 06:14:21 +00:00
ata_da.c Make CAM ATA stack handle disk resizes. 2019-07-23 02:11:14 +00:00
ata_pmp.c Return a C errno for cam_periph_acquire(). 2018-02-06 06:42:25 +00:00
ata_xpt.c Take proper lock in ses_setphyspath_callback(). 2019-08-29 17:02:02 +00:00