Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 21:15:52 -0600
From:      Scott Long <scott_long@btc.adaptec.com>
To:        Mike Silbersack <silby@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_loop.c
Message-ID:  <3ED429E8.2080205@btc.adaptec.com>
In-Reply-To: <200305280204.h4S24X8K070813@repoman.freebsd.org>
References:  <200305280204.h4S24X8K070813@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Silbersack wrote:
> silby       2003/05/27 19:04:33 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/net              if_loop.c 
>   Log:
>   Replace a handrolled defrag function with m_defrag.  The handrolled
>   function couldn't handle chains of > MCLBYTES, and it had a bug which
>   caused corruption and panics in certain low mbuf situations.
>   
>   Additionally, change the failure case so that looutput returns ENOBUFS
>   rather than attempting to pass on non-defragmented mbuf chains.
>   
>   Finally, remove the printf which would happen every time the low memory
>   situation occured.  It served no useful purpose other than to clue me
>   in as to what was causing the panic in question. :)
>   
>   MFC after:      4 days
>   
>   Revision  Changes    Path
>   1.83      +14 -21    src/sys/net/if_loop.c

Don't forget that this was approved by re@ =-)



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