Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 19:04:33 -0700 (PDT)
From:      Mike Silbersack <silby@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net if_loop.c
Message-ID:  <200305280204.h4S24X8K070813@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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