Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Mar 2006 15:03:29 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netipx spx_usrreq.c
Message-ID:  <200603251503.k2PF3T9s000254@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2006-03-25 15:03:29 UTC

  FreeBSD src repository

  Modified files:
    sys/netipx           spx_usrreq.c 
  Log:
  Restructure spx_attach() to properly free memory in the event that one
  of its allocations fails.  Allocate the ipxp last so as to avoid having
  to free it if another allocation goes wrong.
  
  Normalize retrieval of ipxp and cb from socket in spx_sp_attach(), and
  add assertions.
  
  MFC after:      1 month
  
  Revision  Changes    Path
  1.75      +32 -21    src/sys/netipx/spx_usrreq.c



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