commit | 3ad6d176389d4157bf4146cfea41337f08cfa62f | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Thu Mar 23 19:51:20 2017 -0700 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Fri Apr 14 16:00:15 2017 -0700 |
tree | 22ec7bc9e25f4382959a92fab610ff3813247aa2 | |
parent | dfb60ddd297dbc362003a26261a69eaf7cfa74b7 [diff] |
netlink: Add flag to suppress print of nlmsg error Allow callers of the dump API to handle nlmsg errors (e.g., an unsupported feature). Setting RTNL_HANDLE_F_SUPPRESS_NLERR in the rtnl_handle avoids unnecessary messages to the users in some case. For example, RTNETLINK answers: Operation not supported when probing for support of a new feature. Signed-off-by: David Ahern <dsa@cumulusnetworks.com>