Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 1999 22:47:34 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Pierre Beyssac <pb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern uipc_socket2.c 
Message-ID:  <19990928144734.ED9AF1CBF@overcee.netplex.com.au>
In-Reply-To: Your message of "Tue, 28 Sep 1999 05:59:18 MST." <199909281259.FAA06641@freefall.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Pierre Beyssac wrote:
> pb          1999/09/28 05:59:18 PDT
> 
>   Modified files:
>     sys/kern             uipc_socket2.c 
>   Log:
>   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.

Aha!!  This sounds an awful lot like a bug I was seeing while using
the if_pn driver in certain circumstances...

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au



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?19990928144734.ED9AF1CBF>