summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-01-04 19:24:19 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-04 19:24:19 +0100
commitac4340fc3ce0e0b1cb627b05d6dcbd473544d7b3 (patch)
tree4987c1a7d7ce5273097bab8debde9ba2fde343ee /net/dsa
parentscm: remove use CMSG{_COMPAT}_ALIGN(sizeof(struct {compat_}cmsghdr)) (diff)
downloadlinux-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