diff options
author | Kashyap, Desai <kashyap.desai@lsi.com> | 2011-01-04 07:08:39 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-01-24 16:28:00 +0100 |
commit | 4224489f45b503f0a1f1cf310f76dc108f45689a (patch) | |
tree | 5b9eccb9a9cc55b5ca8c6cdba266e2cdd4727952 /tools | |
parent | [SCSI] mpt2sas: Fix the race between broadcast asyn event and scsi command co... (diff) | |
download | linux-4224489f45b503f0a1f1cf310f76dc108f45689a.tar.xz linux-4224489f45b503f0a1f1cf310f76dc108f45689a.zip |
[SCSI] mpt2sas: Kernel Panic during Large Topology discovery
There was a configuration page timing out during the initial port
enable at driver load time. The port enable would fail, and this would
result in the driver unloading itself, meanwhile the driver was accessing
freed memory in another context resulting in the panic. The fix is to
prevent access to freed memory once the driver had issued the diag reset
which woke up the sleeping port enable process. The routine
_base_reset_handler was reorganized so the last sleeping process woken up was
the port_enable.
Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions