]> git.ipfire.org Git - thirdparty/systemd.git/commit
lldp: deal properly with recv() returning EAGAIN/EINTR
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Jun 2016 15:50:40 +0000 (17:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 6 Jun 2016 17:59:08 +0000 (19:59 +0200)
commitf3315c5860548b5560ef114a1e2af4eaafb32c6b
treefdba5afc80cc3da3fd36283ba84fa1c813a7d853
parent35ad2cd7ce3c85a9ff8f251ac9c325bdd6e852ef
lldp: deal properly with recv() returning EAGAIN/EINTR

It might very well return EAGAIN in case of packet checksum problems and
suchlike, hence let's better handle this nicely, the same way as we do it in
the other sd-network libraries for incoming datagrams.
src/libsystemd-network/sd-lldp.c