NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: aligning control message ancillary data



On Thu, Jun 19, 2008 at 05:11:28AM +0000, Michael van Elst wrote:
> Forcing CMSG_ALIGN(cm->cmsg_len) == control->m_len ensures all this,
> but it is stricter than necessary. A more relaxed check as described
> above can handle either 'idiom' in use.

Right - but changing it would IMHO only make sense where it allows
application to work with a sane idiom that worked on (say) NetBSD 4.0 but
does not work in current. Are there any such cases?

Martin


Home | Main Index | Thread Index | Old Index