svn commit: r260908 - projects/sendfile/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Mon Jan 20 15:00:22 UTC 2014


Author: glebius
Date: Mon Jan 20 15:00:21 2014
New Revision: 260908
URL: http://svnweb.freebsd.org/changeset/base/260908

Log:
  Relax assertion.

Modified:
  projects/sendfile/sys/kern/uipc_sockbuf.c

Modified: projects/sendfile/sys/kern/uipc_sockbuf.c
==============================================================================
--- projects/sendfile/sys/kern/uipc_sockbuf.c	Mon Jan 20 14:48:52 2014	(r260907)
+++ projects/sendfile/sys/kern/uipc_sockbuf.c	Mon Jan 20 15:00:21 2014	(r260908)
@@ -160,7 +160,9 @@ void
 sbfree(struct sockbuf *sb, struct mbuf *m)
 {
 
+#if 0	/* XXX: not yet: soclose() call path comes here w/o lock. */
 	SOCKBUF_LOCK_ASSERT(sb);
+#endif
 
 	sb->sb_ccc -= m->m_len;
 


More information about the svn-src-projects mailing list