Network Services | ntp: Ensure socketpair sockets are closed on exit (!8)

Kinsey Moore (@opticron) gitlab at rtems.org
Fri Nov 15 15:52:27 UTC 2024



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/8

Project:Branches: opticron/rtems-net-services:fix-fd-leak to rtems/pkg/rtems-net-services:main
Author:   Kinsey Moore
Assignee: Kinsey Moore



## 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


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/8
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241115/fd459a40/attachment.htm>


More information about the bugs mailing list