mirror of
https://github.com/opnsense/src.git
synced 2026-02-03 20:49:35 -05:00
Depending on the card's firmware version, it may return different length responses for MPI2_FUNCTION_IOC_FACTS. But the first part of the response contains the length of the rest, so query it first to get the length and then use that to size the buffer for the full response. Also, correctly zero-initialize MPI2_IOC_FACTS_REQUEST. It only worked by luck before. PR: 264848 Reported by: Julien Cigar <julien@perdition.city> Sponsored by: Axcient Reviewed by: scottl, imp Differential Revision: https://reviews.freebsd.org/D38739 (cherry picked from commit 7d154c4dc64e61af7ca536c4e9927fa07c675a83) |
||
|---|---|---|
| .. | ||
| mpi | ||
| mps.c | ||
| mps_config.c | ||
| mps_ioctl.h | ||
| mps_mapping.c | ||
| mps_mapping.h | ||
| mps_pci.c | ||
| mps_sas.c | ||
| mps_sas.h | ||
| mps_sas_lsi.c | ||
| mps_table.c | ||
| mps_table.h | ||
| mps_user.c | ||
| mpsvar.h | ||