freebsd-dev/sys/dev/mpr
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 Update mpr(4) driver from v15 to v18 from Broadcom site. 2018-03-19 23:21:45 +00:00
mpr_config.c Changes to make mps(4) and mpr(4) handle reinit with reallocation. 2017-08-10 14:59:17 +00:00
mpr_ioctl.h Update mpr(4) driver from v15 to v18 from Broadcom site. 2018-03-19 23:21:45 +00:00
mpr_mapping.c Clean enclosure_table when resetting num_enc_table_entries to zero. 2018-05-02 02:41:09 +00:00
mpr_mapping.h Add tri-mode support (SAS/SATA/PCIe). 2017-05-17 21:33:37 +00:00
mpr_pci.c Add PNP info to PCI attachments of cbb, cxgb, ida, iwn, ixl, ixlv, 2018-09-26 17:12:30 +00:00
mpr_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
mpr_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
mpr_sas.h Garbage collect usued fields 2017-09-23 08:26:42 +00:00
mpr_table.c Convert some in-line printing of diagnostic into tables. 2017-09-09 22:02:36 +00:00
mpr_table.h Convert some in-line printing of diagnostic into tables. 2017-09-09 22:02:36 +00:00
mpr_user.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
mpr.c Copy and clear the reply descriptor atomically. This prevents concurrency 2018-12-09 06:10:11 +00:00
mprvar.h Port the mps panic-safe shutdown_final handling to mpr 2018-08-13 19:59:42 +00:00