Aaron Nyholm created an issue: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/41
## Summary Sockets fail to close when using Kqueue as not all references to the IOP are released. There is a bug in the Kqueue which holds the IOP twice in `kqueue_register` and only released once during `close` if the FD passed in is a libbsd FD. This means that the socket can never be closed. The issue is present in all Freebsd 14 branches. ## Steps to reproduce 1. Open a socket 2. Attach Kqueue events to socket FD 3. Close Kqueue fd 4. Close socket (this will fail) ### Pre-set options -- View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/41 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs