Change two XXX's to two notes: the fact that SOCK_LOCK(so) ==
SOCKBUF_LOCK(&so->so_rcv) is encoded, which is worth noting, but not a bug.
This commit is contained in:
parent
3a6fc39d32
commit
92716fe04e
@ -140,7 +140,7 @@ soisdisconnecting(so)
|
||||
{
|
||||
|
||||
/*
|
||||
* XXXRW: This code assumes that SOCK_LOCK(so) and
|
||||
* Note: This code assumes that SOCK_LOCK(so) and
|
||||
* SOCKBUF_LOCK(&so->so_rcv) are the same.
|
||||
*/
|
||||
SOCKBUF_LOCK(&so->so_rcv);
|
||||
@ -160,7 +160,7 @@ soisdisconnected(so)
|
||||
{
|
||||
|
||||
/*
|
||||
* XXXRW: This code assumes that SOCK_LOCK(so) and
|
||||
* Note: This code assumes that SOCK_LOCK(so) and
|
||||
* SOCKBUF_LOCK(&so->so_rcv) are the same.
|
||||
*/
|
||||
SOCKBUF_LOCK(&so->so_rcv);
|
||||
|
Loading…
Reference in New Issue
Block a user