cvs commit: src/sys/net if.c

Brooks Davis brooks at FreeBSD.org
Sat Apr 19 22:04:52 UTC 2008


brooks      2008-04-19 22:04:51 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if.c 
  Log:
  Delay the global registration of the struct ifnet in if_alloc() until after
  we're certain the allocation will entierly succeed.  This fixes a leak in a
  fairly unlikely case.
  
  Reported by:    vijay singh <vijjus at rocketmail dot com>
  MFC after:      1 week
  
  Revision  Changes    Path
  1.278     +1 -1      src/sys/net/if.c


More information about the cvs-src mailing list