]> git.ipfire.org Git - thirdparty/iproute2.git/commit
libnetlink: Fix extack attribute parsing
authorDavid Ahern <dsahern@gmail.com>
Thu, 17 Aug 2017 20:43:00 +0000 (13:43 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 18 Aug 2017 15:47:34 +0000 (08:47 -0700)
commite5fa0e6fe75d16e0e317dded699e2786f997bc8f
treee54c2bf5f0c8991c1866e295a1478fcca9976908
parent8cc360fe483d028ec39ec2b74ba18a7b95f4520e
libnetlink: Fix extack attribute parsing

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 <dsahern@gmail.com>
lib/libnetlink.c