In article <OF326F3AF9.7322F5FB-ON88257437.00174874-88257437.00194F7B@us.ibm.com> (at Fri, 25 Apr 2008 21:36:29 -0700), David Stevens <dlstevens@us.ibm.com> says:
__compat_sockaddr_storage{} is intended for defining **self-containing**
sockaddr_stroage{} aligned like 32bit archs - aligned(4).
Even your code - sockaddr_storage{} might be aligned on 64bit even on
32bit archs. If the alignment rules of 32bit were different between
32bit and 64bit, most (if not all) compat layers must have been changed.
See?
The attribute((packed)) is overkill and evil. Please remove that.
Per-member attribute is ugly and the definition is not self-contained.
So, please define __compat_sockaddr_storage{}.
--yoshfuji
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html