]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/resolve/resolved-dns-transaction.c
resolved: properly handle UDP ICMP errors as lost packets
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Jan 2016 01:38:00 +0000 (02:38 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 11 Jan 2016 18:40:00 +0000 (19:40 +0100)
commit7e1851e3c62147794b4b0104ba776453d8945a39
treef15bda684e78fa4e77146d45377261b670048e1f
parenta1a3f73a57da25dbd158ea71607b7d740b101f49
resolved: properly handle UDP ICMP errors as lost packets

UDP ICMP errors are reported to us via recvmsg() when we read a reply. Handle this properly, and consider this a lost
packet, and retry the connection.

This also adds some additional logging for invalid incoming packets.
src/resolve/resolved-dns-transaction.c