Re: [PATCH iproute2] libnetlink: Fix extack attribute parsing

2017-08-18 Thread Stephen Hemminger
On Thu, 17 Aug 2017 13:43:00 -0700 David Ahern wrote: > Initialize tb in nl_dump_ext_err since not all attributes will be > sent in the messages. > > Add error checking on mnl_attr_parse and print messages on the off > chance the ext ack attributes fail to validate. > > Signed-off-by: David Ahe

[PATCH iproute2] libnetlink: Fix extack attribute parsing

2017-08-17 Thread David Ahern
Initialize tb in nl_dump_ext_err since not all attributes will be sent in the messages. Add error checking on mnl_attr_parse and print messages on the off chance the ext ack attributes fail to validate. Signed-off-by: David Ahern --- lib/libnetlink.c | 15 ++- 1 file changed, 10 ins