aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorRanjan Kumar <[email protected]>2024-02-21 07:17:24 +0000
committerMartin K. Petersen <[email protected]>2024-02-27 01:42:50 +0000
commitee0017c3ed8a8abfa4d40e42f908fb38c31e7515 (patch)
treecdd0b4921f1beb214f07c924ac666131079d956c /security/selinux/hooks.c
parentscsi: mpi3mr: Reduce stack usage in mpi3mr_refresh_sas_ports() (diff)
downloadkernel-ee0017c3ed8a8abfa4d40e42f908fb38c31e7515.tar.gz
kernel-ee0017c3ed8a8abfa4d40e42f908fb38c31e7515.zip
scsi: mpt3sas: Prevent sending diag_reset when the controller is ready
If the driver detects that the controller is not ready before sending the first IOC facts command, it will wait for a maximum of 10 seconds for it to become ready. However, even if the controller becomes ready within 10 seconds, the driver will still issue a diagnostic reset. Modify the driver to avoid sending a diag reset if the controller becomes ready within the 10-second wait time. Signed-off-by: Ranjan Kumar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions