7d0b26a027
This is actually a u16, not a u32, so the kernel complains: kernel: netlink: 'systemd-network': attribute type 5 has an invalid length This is due to: if (nla_attr_len[pt->type] && attrlen != nla_attr_len[pt->type]) { pr_warn_ratelimited("netlink: '%s': attribute type %d has an invalid length.\n", current->comm, type); } Presumably this has been working fine in functionality on little-endian systems, but nobody bothered to try on big-endian systems. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> |
||
---|---|---|
.. | ||
generic-netlink.c | ||
local-addresses.c | ||
local-addresses.h | ||
netlink-internal.h | ||
netlink-message.c | ||
netlink-socket.c | ||
netlink-types.c | ||
netlink-types.h | ||
netlink-util.c | ||
netlink-util.h | ||
rtnl-message.c | ||
sd-netlink.c | ||
test-local-addresses.c | ||
test-netlink.c |