This is the mail archive of the
ecos-patches@sourceware.org
mailing list for the eCos project.
Re: Subtle FreeBSD TCP/IP stack macro bug
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Daniel N?ri <daniel dot neri at sigicom dot se>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Tue, 11 Sep 2007 18:38:24 +0200
- Subject: Re: Subtle FreeBSD TCP/IP stack macro bug
- References: <87ps0pvdz3.fsf@dual.hq.sigicom.net>
On Tue, Sep 11, 2007 at 09:49:20AM +0200, Daniel N?ri wrote:
> Hello,
>
> Found in FreeBSD's CVS (via NetBSD):
>
> "Fix a bug in sblock() that has existed since revision 1.1 from BSD:
> correctly return an error if M_NOWAIT is passed to sblock() and the
> operation might block. This remarkably subtle macro bug appears to be
> responsible for quite a few undiagnosed socket buffer corruption and
> mbuf-related kernel panics."
Thanks
Andrew