[ofw] API breakage in trunk

James Yang jyang at xsigo.com
Fri Feb 19 10:32:01 PST 2010


How is the array created? Doesn't it still use old size when the array is created? When will the new size come into picture for old apps? Thx.

-----Original Message-----
From: Sean Hefty [mailto:sean.hefty at intel.com] 
Sent: Friday, February 19, 2010 10:22 AM
To: James Yang; Tzachi Dar; ofw_list
Subject: RE: [ofw] API breakage in trunk

>Since this is the last field in the structure. Old application does not know it
>and will not use it, how will it create problem for them? Any example?

ib_port_attr_t is referenced from ib_ca_attr_t as an array of port attribute
structures.  If the size of the ib_port_attr_t is changed, then accesses into
the array are incorrect.




More information about the ofw mailing list