diff options
author | David S. Miller <davem@davemloft.net> | 2017-01-04 19:24:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-01-04 19:24:19 +0100 |
commit | ac4340fc3ce0e0b1cb627b05d6dcbd473544d7b3 (patch) | |
tree | 4987c1a7d7ce5273097bab8debde9ba2fde343ee /net/dsa | |
parent | scm: remove use CMSG{_COMPAT}_ALIGN(sizeof(struct {compat_}cmsghdr)) (diff) | |
download | linux-ac4340fc3ce0e0b1cb627b05d6dcbd473544d7b3.tar.xz linux-ac4340fc3ce0e0b1cb627b05d6dcbd473544d7b3.zip |
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions