diff options
| author | Jiri Pirko <jiri@mellanox.com> | 2019-11-15 15:26:31 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-11-15 15:58:48 +0100 |
| commit | cdac920beb540736200639a6254e6dc01422e705 (patch) | |
| tree | cd81db4cf8fc9f1879f46e6409241066a2b3d191 /executor/executor.cc | |
| parent | 90f3b019e42736360b0f1fcfcda486086b07c9a1 (diff) | |
executor: consider NLMSG_DONE type in netlink_send_ext()
In case the dump is empty, NLMSG_DONE type message is received from
kernel right away. Count with this and return 0. Set the reply_len to 0.
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Fixes: f350e2dc1f59 ("executor: rename devlink port netdevices to defined names")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Diffstat (limited to 'executor/executor.cc')
0 files changed, 0 insertions, 0 deletions
