diff options
author | Giridhar Malavali <giridhar.malavali@cavium.com> | 2018-09-26 22:05:18 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-09-27 20:24:33 -0400 |
commit | 9fe278f44b4bc06cc61e33b2af65f87d507d13d0 (patch) | |
tree | 88abebd31859fc7680df4d84de97d6c48ef18333 /kernel/sysctl_binary.c | |
parent | bcc71cc3cde1468958a3ea859276d8d1a1a68265 (diff) | |
download | linux-9fe278f44b4bc06cc61e33b2af65f87d507d13d0.tar.gz linux-9fe278f44b4bc06cc61e33b2af65f87d507d13d0.tar.bz2 linux-9fe278f44b4bc06cc61e33b2af65f87d507d13d0.zip |
scsi: qla2xxx: Move log messages before issuing command to firmware
There is a probability that the SRB structure might have been released by the
time the debug log message dereferences it. This patch moved the log messages
before the command is issued to the firmware to prevent unknown behavior and
kernel crash
Fixes: 726b85487067 ("qla2xxx: Add framework for async fabric discovery")
Cc: <stable@vger.kernel.org>
Signed-off-by: Giridhar Malavali <giridhar.malavali@cavium.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions