Re: [PATCH] netlink: Change rtnl_dump_done to always show error

2017-05-30 Thread Stephen Hemminger
On Tue, 16 May 2017 14:22:46 -0700 David Ahern wrote: > The original code which became rtnl_dump_done only shows netlink errors > if the protocol is NETLINK_SOCK_DIAG, but netlink dumps always appends > the length which contains any error encountered during the dump. Update > rtnl_dump_done to al

[PATCH] netlink: Change rtnl_dump_done to always show error

2017-05-16 Thread David Ahern
The original code which became rtnl_dump_done only shows netlink errors if the protocol is NETLINK_SOCK_DIAG, but netlink dumps always appends the length which contains any error encountered during the dump. Update rtnl_dump_done to always show the error if there is one. As an *example* without th