mirror of
https://github.com/a52xq-dev/kernel.git
synced 2026-10-18 21:58:11 +07:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
[ Upstream commit ad40f5256095c68dc17c991eb976261d5ea2daaa ] The MFW may make a call to qed and then to qedf for protocol statistics while the function is still probing. If this happens it's possible that some members of the struct qedf_ctx may not be fully initialized which can result in a NULL pointer dereference or general protection fault. To prevent this, add a new flag call QEDF_PROBING and set it when the __qedf_probe() function is active. Then in the qedf_get_protocol_tlv_data() function we can check if the function is still probing and return immediantely before any uninitialized structures can be touched. Link: https://lore.kernel.org/r/20200416084314.18851-9-skashyap@marvell.com Signed-off-by: Chad Dupuis <cdupuis@marvell.com> Signed-off-by: Saurav Kashyap <skashyap@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
| .. | ||
| drv_fcoe_fw_funcs.c | ||
| drv_fcoe_fw_funcs.h | ||
| drv_scsi_fw_funcs.c | ||
| drv_scsi_fw_funcs.h | ||
| Kconfig | ||
| Makefile | ||
| qedf.h | ||
| qedf_attr.c | ||
| qedf_dbg.c | ||
| qedf_dbg.h | ||
| qedf_debugfs.c | ||
| qedf_els.c | ||
| qedf_fip.c | ||
| qedf_hsi.h | ||
| qedf_io.c | ||
| qedf_main.c | ||
| qedf_version.h | ||