diff options
author | James Bottomley <[email protected]> | 2008-07-07 11:24:06 -0500 |
---|---|---|
committer | James Bottomley <[email protected]> | 2008-07-08 09:40:04 -0500 |
commit | 081a5bcb39b455405d58f79bb3c9398a9d4477ed (patch) | |
tree | 4110a2264eba3a8887cdf8a525376f61f2f92bde /net/unix/sysctl_net_unix.c | |
parent | bdb2b8cab4392ce41ddfbd6773a3da3334daf836 (diff) |
[SCSI] mptspi: fix oops in mptspi_dv_renegotiate_work()
The problem here is that if the ioc faults too early in the bring up
sequence (as it usually does for an irq routing problem), ioc_reset gets
called before the scsi host is even allocated. This causes an oops when
it later schedules a renegotiation. Fix this by checking ioc->sh before
trying to renegotiate.
Cc: "Moore, Eric" <[email protected]>
Cc: Stable Tree <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions