Krishna Kumar2 wrote: > This will mean that a deref is wrongly done if a loopback or zero address > is > passed to this function, without it having done a ref inc. I do think this > case > requires a variable to indicate whether a ref was got or not. Assuming > that is > true, I will submit a patch with your comment about holding the lock.
Yes, you're right. We would need to do: if (!cma_any_addr(addr)) again before calling detach. - Sean _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
