Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jun 2005 00:53:03 +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:  <200506120053.j5C0r3xv032014@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
brooks      2005-06-12 00:53:03 UTC

  FreeBSD src repository

  Modified files:
    sys/net              if.c 
  Log:
  Return NULL instead of a bogus pointer from if_alloc when if_com_alloc
  fails.
  
  Move detaching the ifnet from the ifindex_table into if_free so we can
  both keep the sanity checks and actually delete the ifnets. [0]
  
  Reported by:    gallatin [0]
  Approved by:    re (blanket)
  
  Revision  Changes    Path
  1.232     +9 -6      src/sys/net/if.c



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