From 704259f6449a65324f92d2737a291da10fdac03f Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Tue, 20 Mar 2018 18:24:23 +0100 Subject: sys/linux: fix nlattr alignment It seems that alignment is never present in the nlattr. --- sys/linux/socket_netlink.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/linux/socket_netlink.txt') diff --git a/sys/linux/socket_netlink.txt b/sys/linux/socket_netlink.txt index f23feaa19..e7796057c 100644 --- a/sys/linux/socket_netlink.txt +++ b/sys/linux/socket_netlink.txt @@ -96,7 +96,7 @@ type nlattr_t[TYPE, PAYLOAD] { nla_len len[parent, int16] nla_type TYPE payload PAYLOAD -} [align_4] +} [packed, align_4] # NL80211 has 150 attributes. type nlattr_anytype[PAYLOAD] nlattr_t[int16[0:150], PAYLOAD] -- cgit mrf-deployment