aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_netlink.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-03-20 18:24:23 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-03-21 10:31:09 +0100
commit704259f6449a65324f92d2737a291da10fdac03f (patch)
tree640807411b85bd1d297ebf5f61cee71e913e2dfc /sys/linux/socket_netlink.txt
parentf63eeee99fd125d095eaacf0c0739ac14a6e473d (diff)
sys/linux: fix nlattr alignment
It seems that alignment is never present in the nlattr.
Diffstat (limited to 'sys/linux/socket_netlink.txt')
-rw-r--r--sys/linux/socket_netlink.txt2
1 files changed, 1 insertions, 1 deletions
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]