On Tue, 9 Nov 2004, Roland Dreier wrote:

> Why is this initialization unnecessary?  If we delete these lines then
> sa_query is left pointing to invalid memory when a send fails?

Because ULP's should not use a pointers to-be-set-in-callee routines
if the call failed. In this case, path_rec_start and unicast_arp_start
should not use "query" if the call failed. And "query" is a stack
variable in those routines, so it won't hang around too long :-)

thanks,

- KK

_______________________________________________
openib-general mailing list
[EMAIL PROTECTED]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to