Date: Thu, 7 Dec 2017 19:40:46 +0000 (UTC) From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r326665 - head/sys/sys Message-ID: <201712071940.vB7JekFC085638@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712071940.vB7JekFC085638>