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

Gleb Smirnoff glebius at FreeBSD.org
Fri Oct 10 23:22:21 UTC 2014


Author: glebius
Date: Fri Oct 10 23:22:20 2014
New Revision: 272920
URL: https://svnweb.freebsd.org/changeset/base/272920

Log:
  Fix super-stupid error in r272711, which tried to fix
  a stupid error in r272703.
  
  Sponsored by:	Netflix
  Sponsored by:	Nginx, Inc.

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

Modified: projects/sendfile/sys/kern/uipc_sockbuf.c
==============================================================================
--- projects/sendfile/sys/kern/uipc_sockbuf.c	Fri Oct 10 23:19:34 2014	(r272919)
+++ projects/sendfile/sys/kern/uipc_sockbuf.c	Fri Oct 10 23:22:20 2014	(r272920)
@@ -160,7 +160,7 @@ sbfree(struct sockbuf *sb, struct mbuf *
 		while (n != NULL && !(n->m_flags & M_NOTREADY)) {
 			n->m_flags &= ~M_BLOCKED;
 			sb->sb_acc += n->m_len;
-			n = m->m_next;
+			n = n->m_next;
 		}
 		sb->sb_fnrdy = n;
 	}


More information about the svn-src-projects mailing list