1
1
William Zhang 4ebb37a26c opal/util: Change opal/util/if.h macro IF_NAMESIZE to OPAL_IF_NAMESIZE
Due to IF_NAMESIZE being a reused and conditionally defined macro,
issues could arise from macro mismatches. In particular, in cases where
opal/util/if.h is included, but net/if.h is not, IF_NAMESIZE will be 32.
If net/if.h is included on Linux systems, IF_NAMESIZE will be 16. This
can cause a mismatch when using the same macro on a system. Thus
different parts of the code can have differring ideas on the size of a
structure containing a char name[IF_NAMESIZE]. To avoid this error case,
we avoid reusing the IF_NAMESIZE macro and instead define our own as
OPAL_IF_NAMESIZE.

Signed-off-by: William Zhang <wilzhang@amazon.com>
2019-07-29 21:24:39 +00:00
..
2015-06-23 20:59:57 -07:00
2015-04-08 08:52:17 -04:00
2015-05-13 18:31:12 -04:00
2015-06-23 20:59:57 -07:00
2015-06-23 20:59:57 -07:00
2016-11-19 11:44:19 -08:00
2015-06-23 20:59:57 -07:00
2009-08-20 11:42:18 +00:00
2009-08-20 11:42:18 +00:00
2015-07-17 17:36:37 -07:00
2015-06-23 20:59:57 -07:00
2015-12-21 20:49:14 -08:00