cvs commit: src/sys/netinet sctp_constants.h sctp_input.c sctp_uio.h sctp_usrreq.c sctputil.c

Randall Stewart rrs at FreeBSD.org
Mon Aug 6 08:46:47 PDT 2007


rrs         2007-08-06 15:46:46 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          sctp_constants.h sctp_input.c sctp_uio.h 
                         sctp_usrreq.c sctputil.c 
  Log:
  - change number assignments for SHA225-512 (match artisync
    for bakeoff.. using the next sequential ones)
  - In cookie processing 1-2-1, we did not increment the stcb
    refcnt before releasing the tcb lock. We need to do this
    to keep the tcb from being freed by a abort or ?? unlikely
    but worth doing. Also get rid of unneed INP_WLOCK.
  - extra receive info included the rcvinfo which killed the
    padding/alignment. We now redefine all the fields properly
    so they both align properly both to 128 bytes.
  - A peeled off socket would not close without an error due to
    its misguided idea that sctp_disconnect() was not supported
    on it. This fixes it so it goes through the proper path.
  - When an assoc was being deleted after abort (via a timer) a
    small race condition exists where we might take a packet for
    the old assoc (since we are waiting for a cleanup timer). This
    state especially happens in mac. We now add a state in the asoc
    so these can properly handle the packet as OOTB.
  Approved by:    re at freebsd.org(Ken Smith)
  
  Revision  Changes    Path
  1.25      +1 -0      src/sys/netinet/sctp_constants.h
  1.55      +12 -0     src/sys/netinet/sctp_input.c
  1.25      +12 -4     src/sys/netinet/sctp_uio.h
  1.41      +2 -1      src/sys/netinet/sctp_usrreq.c
  1.54      +3 -0      src/sys/netinet/sctputil.c


More information about the cvs-src mailing list