Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Jan 2016 01:16:04 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r293405 - head/sys/kern
Message-ID:  <201601080116.u081G4Uj025386@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Fri Jan  8 01:16:03 2016
New Revision: 293405
URL: https://svnweb.freebsd.org/changeset/base/293405

Log:
  For SOCK_STREAM socket use sbappendstream() instead of sbappend().

Modified:
  head/sys/kern/uipc_usrreq.c

Modified: head/sys/kern/uipc_usrreq.c
==============================================================================
--- head/sys/kern/uipc_usrreq.c	Fri Jan  8 01:12:27 2016	(r293404)
+++ head/sys/kern/uipc_usrreq.c	Fri Jan  8 01:16:03 2016	(r293405)
@@ -981,7 +981,7 @@ uipc_send(struct socket *so, int flags, 
 				    control))
 					control = NULL;
 			} else
-				sbappend_locked(&so2->so_rcv, m);
+				sbappendstream_locked(&so2->so_rcv, m, flags);
 			break;
 
 		case SOCK_SEQPACKET: {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601080116.u081G4Uj025386>