Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Apr 2008 20:43:48 +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:  <200804292043.m3TKhmuT025678@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
brooks      2008-04-29 20:43:48 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if.c 
  Log:
  MFC rev 1.278:
  
  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>
  
  Revision    Changes    Path
  1.234.2.22  +1 -1      src/sys/net/if.c



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