Page MenuHomeFreeBSD

Handle SIGIO for listening sockets
ClosedPublic

Authored by jah on Dec 27 2018, 7:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 29, 12:54 PM
Unknown Object (File)
Tue, Mar 26, 10:14 PM
Unknown Object (File)
Dec 20 2023, 2:52 AM
Unknown Object (File)
Sep 7 2023, 5:04 AM
Unknown Object (File)
Sep 7 2023, 5:03 AM
Unknown Object (File)
Sep 7 2023, 5:01 AM
Unknown Object (File)
Sep 1 2023, 8:38 PM
Unknown Object (File)
Jun 25 2023, 2:14 PM
Subscribers

Details

Summary

r319722 separated portions of struct socket and the socket I/O path that are specific to listening sockets from those which are specific to dataflow sockets. Listening socket connection notifications are now handled through solisten_wakeup() instead of sowakeup(), but solisten_wakeup() does not currently handle delivery of SIGIO to the owning process.

Reported by: Kenneth Adelman
PR: 234258

Test Plan

Verified that this fixes the issue reported in bug 234258 on -current

--Do we have a good place in existing unit tests to add a case for this?

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21744
Build 21022: arc lint + arc unit

Event Timeline

jah added reviewers: glebius, tuexen, kbowling, transport.

You may be able to add something to /usr/src/tests/sys/

You may be able to add something to /usr/src/tests/sys/

It looks like there aren't any tests that exercise SIGIO in any capacity. I'll consider adding something in a later commit.

ping...does anyone want to review?

This revision was not accepted when it landed; it landed in state Needs Review.Jan 13 2019, 8:34 PM
This revision was automatically updated to reflect the committed changes.