svn commit: r260819 - head/sys/kern

Gleb Smirnoff glebius at FreeBSD.org
Fri Jan 17 11:09:06 UTC 2014


Author: glebius
Date: Fri Jan 17 11:09:05 2014
New Revision: 260819
URL: http://svnweb.freebsd.org/changeset/base/260819

Log:
  Fix comment.

Modified:
  head/sys/kern/uipc_sockbuf.c

Modified: head/sys/kern/uipc_sockbuf.c
==============================================================================
--- head/sys/kern/uipc_sockbuf.c	Fri Jan 17 11:04:59 2014	(r260818)
+++ head/sys/kern/uipc_sockbuf.c	Fri Jan 17 11:09:05 2014	(r260819)
@@ -813,7 +813,7 @@ sbflush_internal(struct sockbuf *sb)
 
 	while (sb->sb_mbcnt) {
 		/*
-		 * Don't call sbdrop(sb, 0) if the leading mbuf is non-empty:
+		 * Don't call sbcut(sb, 0) if the leading mbuf is non-empty:
 		 * we would loop forever. Panic instead.
 		 */
 		if (!sb->sb_cc && (sb->sb_mb == NULL || sb->sb_mb->m_len))


More information about the svn-src-head mailing list