diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-05-23 11:19:14 +0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-23 10:19:14 +0200 |
commit | f134289ac59560946e6559d9487e60c7690396ba (patch) | |
tree | e2672c2775df996dcd461ba6a841a750402427b4 /src/udev/udev-watch.c | |
parent | ffd9877ca9fdd691539f0f51bfa04306be27abea (diff) |
resolved: don't stop handle messages after receiving a zero length UDP packet (#3323)
Fixes:
-bash-4.3# ss --udp -l -p
State Recv-Q Send-Q Local Address:Port Peer Address:Port
UNCONN 0 0 *:5355 *:* users:(("systemd-resolve",pid=601,fd=12))
UNCONN 0 0 :::5355 :::* users:(("systemd-resolve",pid=601,fd=14))
-bash-4.3# nping --udp -p 5355 --data-length 0 -c 1 localhost
-bash-4.3# journalctl -u systemd-resolved -b --no-hostname
...
May 21 14:59:22 systemd-resolved[601]: Event source llmnr-ipv4-udp (type io) returned error, disabling: Input/output error
...
-bash-4.3# nping --udp -p 5355 --data-length 1000 -c 1 localhost
-bash-4.3# ss --udp -l
State Recv-Q Send-Q Local Address:Port Peer Address:Port
UNCONN 2304 0 *:5355 *:*
UNCONN 0 0 :::5355 :::*
Diffstat (limited to 'src/udev/udev-watch.c')
0 files changed, 0 insertions, 0 deletions