I had assumed that nested Netlink attributes contained an entire Netlink
message, including header. This is wrong: they contain only a series of
attributes.
Nothing in the tree actually used nested attributes until now, so this
doesn't fix any existing bugs.
[NL_A_U64] = { 8, 8 },
[NL_A_STRING] = { 1, SIZE_MAX },
[NL_A_FLAG] = { 0, SIZE_MAX },
- [NL_A_NESTED] = { NLMSG_HDRLEN, SIZE_MAX },
+ [NL_A_NESTED] = { 0, SIZE_MAX },
};
/* Parses the 'msg' starting at the given 'nla_offset' as a sequence of Netlink