Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2003 20:27:28 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        Mike Silbersack <silby@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/pci if_xl.c
Message-ID:  <20030407202541.B90233@odysseus.silby.com>
In-Reply-To: <200304080105.h3815sun062782@repoman.freebsd.org>
References:  <200304080105.h3815sun062782@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Note that this would not be a common occurance, as xl_encap only needs to
call m_defrag if there are > 63 mbuf fragments in a packet.

I'll commit the m_defrag failure test code I'm using for this change soon.

Mike "Silby" Silbersack

On Mon, 7 Apr 2003, Mike Silbersack wrote:

> silby       2003/04/07 18:05:54 PDT
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/pci              if_xl.c
>   Log:
>   Fix up callers of xl_encap so that they handle a failure response
>   properly (likely due to mbuf exhaustion.)  Previously, the driver
>   got somewhat wedged.
>
>   Also, remove the annoying messages printed every time xl_encap
>   couldn't allocate a mbuf; they served no useful purpose, and just made
>   an mbuf exhaustion situation more annoying.
>
>   MFC after:      1 week
>
>   Revision  Changes    Path
>   1.138     +10 -3     src/sys/pci/if_xl.c
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030407202541.B90233>