cvs commit: src/sys/pci if_xl.c

Mike Silbersack silby at silby.com
Mon Apr 7 18:31:16 PDT 2003


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
>


More information about the cvs-src mailing list