freebsd-skq/sys/cam/mmc
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
..
mmc_all.h SPDX: finish tagging sys/cam. 2018-01-16 23:19:57 +00:00
mmc_bus.h
mmc_da.c Add new fields to mmc_data in preparation to SDIO CMD53 block mode support 2019-04-10 19:49:35 +00:00
mmc_xpt.c Take proper lock in ses_setphyspath_callback(). 2019-08-29 17:02:02 +00:00
mmc.h Fix setting RCA for MMC cards 2018-06-19 20:02:03 +00:00