From owner-cvs-all Wed Nov 4 12:22:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA26744 for cvs-all-outgoing; Wed, 4 Nov 1998 12:22:18 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA26734; Wed, 4 Nov 1998 12:22:11 -0800 (PST) (envelope-from fenner@FreeBSD.org) From: Bill Fenner Received: (from fenner@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA26370; Wed, 4 Nov 1998 12:22:12 -0800 (PST) Date: Wed, 4 Nov 1998 12:22:12 -0800 (PST) Message-Id: <199811042022.MAA26370@freefall.freebsd.org> 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 fenner 1998/11/04 12:22:12 PST Modified files: sys/kern uipc_socket2.c Log: Fix sbcheck() to check all packets on socket buffer. Also fix data types and printf formats while I'm here. PR: misc/8494 Panic instead of looping forever in sbflush(). If sb_mbcnt counts more mbufs than sb_cc counts bytes, the original code can turn into an infinite loop of removing 0 bytes from the socket buffer until it's empty. Revision Changes Path 1.40 +11 -9 src/sys/kern/uipc_socket2.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message