Re: [PATCH ethtool 02/21] netlink: fix nest type grouping in parser

2020-05-29 Thread Andrew Lunn
On Fri, May 29, 2020 at 01:21:17AM +0200, Michal Kubecek wrote: > Even if we are only interested in one nested attribute when using > PARSER_GROUP_NEST group type, the temporary buffer must contain proper > netlink header and have pointer to it and payload set up correctly for > libmnl composition

[PATCH ethtool 02/21] netlink: fix nest type grouping in parser

2020-05-28 Thread Michal Kubecek
Even if we are only interested in one nested attribute when using PARSER_GROUP_NEST group type, the temporary buffer must contain proper netlink header and have pointer to it and payload set up correctly for libmnl composition functions to be able to track current message size. Fixes: 9ee9d9517542