On Wednesday 05 December 2007 02:40, Roland Dreier wrote:
> BTW, sifting through the OFED 1.3 libibverbs tree, I do see that the
> commit to add max_xrc_domains to struct ibv_device_attr did break
> things by adding the member in the middle of the structure (so that an
> app compiled against the old header will see bogus values for
> local_ca_ack_delay and phys_port_count.
> 
> Actually looking at the commit again, it's worse than that... anything
> compiled against the old header that calls ibv_query_device() may get
> memory corrupted, because the new ibv_query_device() writes to a
> bigger structure than the app passes in.
> 
> The perils of not reviewing properly I guess...

This commit was subsequently reversed for exactly that reason.
Unfortunately, though, when I reviewed things regarding backwards binary
compatibility at the time I reversed the above commit, I also missed the
problem of the ibv_context_ops structure.

- Jack
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

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

Reply via email to