cvs commit: src/sys/netipx spx_usrreq.c

Robert Watson rwatson at FreeBSD.org
Sat Mar 25 15:03:30 UTC 2006


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


More information about the cvs-all mailing list