]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Consistently use the SOLISTENING() macro
authorMark Johnston <markj@FreeBSD.org>
Mon, 14 Jun 2021 21:32:27 +0000 (17:32 -0400)
committerMark Johnston <markj@FreeBSD.org>
Mon, 14 Jun 2021 21:32:27 +0000 (17:32 -0400)
commitf4bb1869ddd2bca89b6b6bfaf4d866efdd9243cf
treefb3bd9cd17b804fdedef74a02cca5d3e30dbf64b
parent70dd5eebc025badb7b835dfee3915d8b5f1e7468
Consistently use the SOLISTENING() macro

Some code was using it already, but in many places we were testing
SO_ACCEPTCONN directly.  As a small step towards fixing some bugs
involving synchronization with listen(2), make the kernel consistently
use SOLISTENING().  No functional change intended.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation
sys/dev/hyperv/hvsock/hv_sock.c
sys/kern/uipc_accf.c
sys/kern/uipc_socket.c
sys/kern/uipc_syscalls.c
sys/kern/uipc_usrreq.c
sys/netgraph/bluetooth/socket/ng_btsocket_l2cap.c
sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
sys/netgraph/bluetooth/socket/ng_btsocket_sco.c
sys/netinet/tcp_input.c
sys/netinet/tcp_subr.c
sys/rpc/svc_vc.c