Date: Wed, 4 Nov 1998 12:22:12 -0800 (PST) From: Bill Fenner <fenner@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/kern uipc_socket2.c Message-ID: <199811042022.MAA26370@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199811042022.MAA26370>
