cvs commit: src/sys/net if.c

Brooks Davis brooks at FreeBSD.org
Tue Aug 16 17:02:35 GMT 2005


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


More information about the cvs-src mailing list