mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +03:00
Beniamino Galvani
22a3fd2da9
dhcp: don't stop receiving packets when the link goes down
When the link goes down, DHCP client_receive_message*() functions return an error and the related I/O source is removed from the main loop. With the current implementation of systemd-networkd this doesn't matter because the DHCP client is always stopped on carrier down and restarted on carrier up. However it seems wrong to have the DHCP client crippled (because no packet can be received anymore) once the link goes temporarily down. Change the receive functions to ignore a ENETDOWN event so that the client will be able to receive packets again after the link comes back.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements is provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the Hacking guide for information on how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Stable branches with backported patches are available in the stable repo.
Description
Languages
C
89.4%
Python
5.8%
Shell
2.1%
Meson
1.3%
HTML
0.9%
Other
0.4%