summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/bluetooth/socket
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-06-01 02:42:56 +0000
committerrwatson <rwatson@FreeBSD.org>2004-06-01 02:42:56 +0000
commitbddadcf71a191234c652f1a57c52259d99eac58d (patch)
treeb3cf202f784daea532f82c3a671eb807b9874cb0 /sys/netgraph/bluetooth/socket
parent7a915f30a709eb7c2e2d7f4f5f9ce5ad30818fa8 (diff)
downloadFreeBSD-src-bddadcf71a191234c652f1a57c52259d99eac58d.zip
FreeBSD-src-bddadcf71a191234c652f1a57c52259d99eac58d.tar.gz
The SS_COMP and SS_INCOMP flags in the so_state field indicate whether
the socket is on an accept queue of a listen socket. This change renames the flags to SQ_COMP and SQ_INCOMP, and moves them to a new state field on the socket, so_qstate, as the locking for these flags is substantially different for the locking on the remainder of the flags in so_state.
Diffstat (limited to 'sys/netgraph/bluetooth/socket')
-rw-r--r--sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c b/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
index 437b604..e521dd9 100644
--- a/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
+++ b/sys/netgraph/bluetooth/socket/ng_btsocket_rfcomm.c
@@ -1369,7 +1369,7 @@ ng_btsocket_rfcomm_session_accept(ng_btsocket_rfcomm_session_p s0)
s0->l2so->so_qlen --;
soref(l2so);
- l2so->so_state &= ~SS_COMP;
+ l2so->so_qstate &= ~SQ_COMP;
l2so->so_state |= SS_NBIO;
l2so->so_head = NULL;
OpenPOWER on IntegriCloud