icmp6-util: stop ignoring EAGAIN and EINTR in icmp6_receive
authorEvgeny Vereshchagin <evvers@ya.ru>
Mon, 1 Oct 2018 22:37:17 +0000 (22:37 +0000)
committerLennart Poettering <lennart@poettering.net>
Tue, 2 Oct 2018 10:58:07 +0000 (12:58 +0200)
commit14f37112c86b573cf7f1f557e6d1be4c322290a4
tree658976af60290665e762bfc6b6698ce62360cba8
parent0bc7a22d9393ee3a806c308e8e1dd387858d44ba
icmp6-util: stop ignoring EAGAIN and EINTR in icmp6_receive

The code handling the errors was originally part of ndisc_recv, which,
being an event handler, would be simply turned off if it returned a negative
error code. It's no longer necessary. Plus, it helps avoid passing
an uninitialized value to radv_send.

Closes https://github.com/systemd/systemd/issues/10223.
src/libsystemd-network/icmp6-util.c