cvs commit: src/sys/net if.c

Brooks Davis brooks at
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 
  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-all mailing list