Skip to content
Commit ac4340fc authored by David S. Miller's avatar David S. Miller
Browse files

net: Assert at build time the assumptions we make about the CMSG header.



It must always be the case that CMSG_ALIGN(sizeof(hdr)) == sizeof(hdr).

Otherwise there are missing adjustments in the various calculations
that parse and build these things.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1ff8cebf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment