Handle SIGIO for listening sockets
r319722 separated struct socket and parts of the socket I/O path into listening-socket-specific and dataflow-socket-specific pieces. Listening socket connection notifications are now handled by solisten_wakeup() instead of sowakeup(), but solisten_wakeup() does not currently post SIGIO to the owning process. PR: 234258 Reported by: Kenneth Adelman MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D18664
This commit is contained in:
parent
8c9c3144cc
commit
7dff7eda1a
@ -886,6 +886,8 @@ solisten_wakeup(struct socket *sol)
|
||||
}
|
||||
SOLISTEN_UNLOCK(sol);
|
||||
wakeup_one(&sol->sol_comp);
|
||||
if ((sol->so_state & SS_ASYNC) && sol->so_sigio != NULL)
|
||||
pgsigio(&sol->so_sigio, SIGIO, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user