mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 10:20:11 +01:00
pppd restores the previous settings for the serial port it uses right before exiting. It is especially important to do so because otherwise ModemManager is not able to recover the port as it can receive a hangup event from the port due to CLOCAL not being restored. However, there is currently a race condition that produces this issue. This is because when PHASE_DEAD is notified, pppd still has not restored the port settings - it does that a bit later, in the die() function. This patch delays notifying PHASE_DEAD until when the exitnotify() hook is called by pppd: when this happens the port settings have already been restored. There were previously efforts to fix this in commit |
||
|---|---|---|
| .. | ||
| meson.build | ||
| nm-ppp-manager-call.c | ||
| nm-ppp-manager-call.h | ||
| nm-ppp-manager.c | ||
| nm-ppp-manager.h | ||
| nm-ppp-plugin-api.h | ||
| nm-ppp-plugin.ver | ||
| nm-ppp-status.h | ||
| nm-pppd-plugin.c | ||
| nm-pppd-plugin.h | ||