cvs commit: src/sys/netipx spx_usrreq.c

Robert Watson rwatson at
Thu Jun 8 23:30:58 UTC 2006

rwatson     2006-06-08 23:28:55 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/netipx           spx_usrreq.c 
  Merge spx_usrreq.c:1.75 from HEAD to RELENG_6:
    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.
  Revision   Changes    Path  +32 -21    src/sys/netipx/spx_usrreq.c

More information about the cvs-src mailing list