NetBSD-Users archive

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

Re: aligning control message ancillary data

In article <>,
Michael van Elst  <> wrote:
>On Thu, Jun 19, 2008 at 12:13:32PM +0200, Martin Husemann wrote:
>> 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?
>The only in-tree program using cmsg seems to be ssh.

and racoon.


Home | Main Index | Thread Index | Old Index