if (sb->sb_cc || sb->sb_mb) panic("sbflush 2");
KASSERT(sb->sb_cc == 0); KASSERT(sb->sb_mb == NULL); KASSERT(sb->sb_mbtail == NULL); KASSERT(sb->sb_lastrecord == NULL);
sbflush(sb)	register struct sockbuf *sb;{	if (sb->sb_flags & SB_LOCK)		panic("sbflush");	while (sb->sb_mbcnt)		sbdrop(sb, (int)sb->sb_cc);	if (sb->sb_cc || sb->sb_mb)		panic("sbflush 2");}