Revert r194662, since it breaks ng_ksocket(4) and may break

other socket consumers with alternate sb_upcall.

PR:		kern/154676
Submitted by:	Arnaud Lacombe <lacombar gmail.com>
MFC after:	7 days
This commit is contained in:
Gleb Smirnoff 2011-04-14 14:54:22 +00:00
parent ced9253e4e
commit 443301e296
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=220622

View File

@ -528,9 +528,6 @@ sbappendstream_locked(struct sockbuf *sb, struct mbuf *m)
SBLASTMBUFCHK(sb);
/* Remove all packet headers and mbuf tags to get a pure data chain. */
m_demote(m, 1);
sbcompress(sb, m, sb->sb_mbtail);
sb->sb_lastrecord = sb->sb_mb;