]> git.ipfire.org Git - thirdparty/iproute2.git/commit
libnetlink: Process further iovs on no error
authorPetr Machata <petrm@mellanox.com>
Tue, 4 Dec 2018 16:07:41 +0000 (16:07 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 4 Dec 2018 22:28:31 +0000 (14:28 -0800)
commit0951cbcddf5ade08a42ff8ce65bb9b2017ec9cee
treec3153cef1d30600f4f70dcb0dab698fb0db9ea00
parenta7a7e4501732bcdb6004271f12beda358ab4f463
libnetlink: Process further iovs on no error

When no error is reported in the first iov, do not prematurely return,
but process further iovs. This fixes batch processing.

Fixes: c60389e4f9ea ("libnetlink: fix leak and using unused memory on error")
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/libnetlink.c