Skip to content

ntp: Ensure socketpair sockets are closed on exit

Kinsey Moore requested to merge opticron/rtems-net-services:fix-fd-leak into main

Summary

ntp: Ensure socketpair sockets are closed on exit

The close() wrapper was interfering with blocking_child cleanup causing the sockets allocated during socketpair creation to remain unclosed after application shutdown. This was especially evident when the NTP daemon was started and stopped repeatedly.

Closes #5 (closed)

Merge request reports