[ofa-general] Re: list corruption on ib_srp load in v2.6.24-rc5
Roland Dreier
rdreier at cisco.com
Wed Jan 2 09:51:38 PST 2008
> > Can you try this?
>
> That patched oopsed in scsi_remove_host(), but reversing the order has
> survived over 500 insert/probe/remove cycles.
>
> Tested-by: David Dillow <dillowda at ornl.gov>
> ---
> diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c
> index 950228f..77e8b90 100644
> --- a/drivers/infiniband/ulp/srp/ib_srp.c
> +++ b/drivers/infiniband/ulp/srp/ib_srp.c
> @@ -2054,6 +2054,7 @@ static void srp_remove_one(struct ib_device *device)
> list_for_each_entry_safe(target, tmp_target,
> &host->target_list, list) {
> scsi_remove_host(target->scsi_host);
> + srp_remove_host(target->scsi_host);
> srp_disconnect_target(target);
Where do we stand on this? What is the right place to put the
srp_remove_host? Is there a bug somewhere else?
I'd like to get this fixed before 2.6.24 final comes out...
- R.
More information about the general
mailing list