Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2005 17:02:35 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/net if.c
Message-ID:  <200508161702.j7GH2Zir009171@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
brooks      2005-08-16 17:02:35 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if.c 
  Log:
  - Move IF_ADDR_LOCK_DESTROY(ifp) from if_free to if_free_type.
  - Add a note that additions should be made to if_free_type and not
    if_free to help avoid this in the future.
  
  This apparently fixes a use after free in if_bridge and may fix bugs
  in other direct if_free_type consumers.
  
  Reported by:    thompsa
  
  Revision  Changes    Path
  1.243     +3 -1      src/sys/net/if.c



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