freebsd-nq/sys/dev/mps
Conrad Meyer 8277ce2b78 mps(4), mpr(4): Fix lifetime of command buffer for mp?sas_get_sata_identify
In the event that the ID command timed out, mps(4)/mpr(4) did not free the
command until it could be cancelled.  However, it freed the associated
buffer (cm_data).  Fix the lifetime issue by freeing the associated buffer
only after Abort Task or controller reset.

Reviewed by:	scottl
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D18612
2018-12-21 20:29:16 +00:00
..
mpi sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_config.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_ioctl.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
mps_mapping.c Revert r327828, r327949, r327953, r328016-r328026, r328041: 2018-01-21 15:42:36 +00:00
mps_mapping.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_pci.c Add PNP info to PCI attachments of cbb, cxgb, ida, iwn, ixl, ixlv, 2018-09-26 17:12:30 +00:00
mps_sas_lsi.c mps(4), mpr(4): Fix lifetime of command buffer for mp?sas_get_sata_identify 2018-12-21 20:29:16 +00:00
mps_sas.c mps(4), mpr(4): Fix lifetime of command buffer for mp?sas_get_sata_identify 2018-12-21 20:29:16 +00:00
mps_sas.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_table.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_table.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
mps_user.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
mps.c Copy and clear the reply descriptor atomically. This prevents concurrency 2018-12-09 06:10:11 +00:00
mpsvar.h Fix mps deadlock when handling panic 2018-03-14 21:32:23 +00:00