From owner-cvs-all Fri Oct 1 10: 8:54 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E59FA14BCD; Fri, 1 Oct 1999 10:08:51 -0700 (PDT) (envelope-from pb@FreeBSD.org) Received: (from pb@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA83525; Fri, 1 Oct 1999 10:08:51 -0700 (PDT) (envelope-from pb@FreeBSD.org) Message-Id: <199910011708.KAA83525@freefall.freebsd.org> From: Pierre Beyssac Date: Fri, 1 Oct 1999 10:08:51 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_socket2.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk pb 1999/10/01 10:08:51 PDT Modified files: (Branch: RELENG_3) sys/kern uipc_socket2.c Log: MFC: in sbflush(), don't exit the while loop too early: this can cause an empty mbuf to stay in the queue, then causing a needless panic because sb_cc == 0 and sb_mbcnt != 0. But we still need to panic rather than endlessly looping if, for some reason, sb_cc == 0 and there are non-empty mbufs in the queue. PR: kern/11988 Revision Changes Path 1.43.2.6 +9 -2 src/sys/kern/uipc_socket2.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message