Page MenuHomeFreeBSD

D35669.diff
No OneTemporary

D35669.diff

diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -948,8 +948,9 @@
mtx_lock(&so->so_rcv_mtx);
/* Interlock with soo_aio_queue(). */
- if ((so->so_snd.sb_flags & (SB_AIO | SB_AIO_RUNNING)) != 0 ||
- (so->so_rcv.sb_flags & (SB_AIO | SB_AIO_RUNNING)) != 0) {
+ if (!SOLISTENING(so) &&
+ ((so->so_snd.sb_flags & (SB_AIO | SB_AIO_RUNNING)) != 0 ||
+ (so->so_rcv.sb_flags & (SB_AIO | SB_AIO_RUNNING)) != 0)) {
solisten_proto_abort(so);
return (EINVAL);
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 9, 1:04 PM (20 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14560822
Default Alt Text
D35669.diff (545 B)

Event Timeline