On 06/26/2009 10:30 AM, thomas_chena...@dell.com wrote:
> Mike Christie wrote:
>>> diff --git a/usr/initiator.c b/usr/initiator.c
>>> index 8e4ea6b..c29f5fb 100644
>>> --- a/usr/initiator.c
>>> +++ b/usr/initiator.c
>>> @@ -127,7 +127,7 @@ struct iscsi_conn_context *iscsi_conn_co
>>>                             sizeof(struct actor));
>>>                     conn_context->allocated = 1;
>>>                     /* some callers abuse this pointer */
>>> -                   conn_context->data = conn_context +
>>> +                   conn_context->data = (void *)conn_context +
>>>                                     sizeof(struct
>>> iscsi_conn_context);
>>>                     log_debug(7, "get conn context %p",
>>>                             &conn_context->actor);
>>
>> Does this fix your segfault with iscsistart too?
>>
>>
>> Thomas, could you try this patch?
>
> Mike, I am not certain which Thomas you were addressing. I was aware of
> an iscsistart segfault at the time this patch was created and I was
> convinced that this patch resolved it.
>
>

Ah sorry. I was asking Shyam if this fixed his iscsistart segfault.

I was then asking Thomas Weyergraf if the patch fixed his problem too 
(it was in the conn_conext code as well so I though it could be related).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to