svn commit: r326665 - head/sys/sys
Bjoern A. Zeeb
bz at FreeBSD.org
Thu Dec 7 19:40:48 UTC 2017
Author: bz
Date: Thu Dec 7 19:40:46 2017
New Revision: 326665
URL: https://svnweb.freebsd.org/changeset/base/326665
Log:
Use correct field in the description for the lock after r319722.
Reviewed by: glebius
Sponsored by: iXsystems, Inc.
Modified:
head/sys/sys/socketvar.h
Modified: head/sys/sys/socketvar.h
==============================================================================
--- head/sys/sys/socketvar.h Thu Dec 7 19:38:09 2017 (r326664)
+++ head/sys/sys/socketvar.h Thu Dec 7 19:40:46 2017 (r326665)
@@ -71,7 +71,7 @@ struct socket;
* (a) constant after allocation, no locking required.
* (b) locked by SOCK_LOCK(so).
* (cr) locked by SOCKBUF_LOCK(&so->so_rcv).
- * (cs) locked by SOCKBUF_LOCK(&so->so_rcv).
+ * (cs) locked by SOCKBUF_LOCK(&so->so_snd).
* (e) locked by SOLISTEN_LOCK() of corresponding listening socket.
* (f) not locked since integer reads/writes are atomic.
* (g) used only as a sleep/wakeup address, no value.
More information about the svn-src-all
mailing list