From c1718ecf4edf5d33ea12c6368165cd90a4229610 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 10 May 2019 13:05:04 +0200 Subject: sys/linux: fix alignment of cmsghdr_sock All cmsg's must be intptr aligned within the array. --- sys/linux/socket.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/linux/socket.txt') diff --git a/sys/linux/socket.txt b/sys/linux/socket.txt index 8c495d886..bd6f19679 100644 --- a/sys/linux/socket.txt +++ b/sys/linux/socket.txt @@ -190,9 +190,9 @@ type cmsghdr_unaligned[SOL, TYP, DATA] { # For __sock_cmsg_send cmsghdr_sock [ - mark cmsghdr_unaligned[SOL_SOCKET, SO_MARK, int32] - timestamping cmsghdr_unaligned[SOL_SOCKET, SO_TIMESTAMPING_OLD, int32] - txtime cmsghdr_unaligned[SOL_SOCKET, SCM_TXTIME, int64] + mark cmsghdr_t[SOL_SOCKET, SO_MARK, int32] + timestamping cmsghdr_t[SOL_SOCKET, SO_TIMESTAMPING_OLD, int32] + txtime cmsghdr_t[SOL_SOCKET, SCM_TXTIME, int64] ] [varlen] # Socket options -- cgit mrf-deployment