Re: [PATCH 1/3] libnetlink: add rtattr_for_each_nested() iteration macro

2020-08-24 Thread David Ahern
On 8/24/20 11:51 AM, Johannes Berg wrote: > This is useful for iterating elements in a nested attribute, > if they're not parsed with a strict length limit or such. > > Signed-off-by: Johannes Berg > --- > include/libnetlink.h | 5 + > 1 file changed, 5 insertions(+) > applied to iproute2-

[PATCH 1/3] libnetlink: add rtattr_for_each_nested() iteration macro

2020-08-24 Thread Johannes Berg
This is useful for iterating elements in a nested attribute, if they're not parsed with a strict length limit or such. Signed-off-by: Johannes Berg --- include/libnetlink.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/libnetlink.h b/include/libnetlink.h index e27516f7648f..0d