[openib-general] [PATCH] IPOIB: Use a GRH when appropriate for unicast packets

Roland Dreier rdreier at cisco.com
Fri Jan 26 14:57:39 PST 2007


 > ib_init_ah_from_path() is only used to initialize the ah_attr before
 > calling ib_create_ah().  We have to trap for failure from
 > ib_create_ah(), so if ib_init_ah_from_path simply aborts, would
 > ib_create_ah() simply fail later?

Right now if ib_init_ah_from_path() fails then ib_create_ah() will
create an AH with bogus global route info (since it just uses whatever
uninitialized junk is there after ib_init_ah_from_path() returns).

 - R.




More information about the general mailing list