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

Randall Stewart rrs at FreeBSD.org
Sat Nov 11 22:44:13 UTC 2006


rrs         2006-11-11 22:44:12 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          sctp_constants.h sctp_input.c 
                         sctp_output.c sctputil.c sctputil.h 
  Log:
  In a true restart case, the send_lock was
  not being aquired. This meant that when we cleanup
  the outbound we may have one in transit to be
  added with the old sequence number. This is bad
  since then we loose a message :(
  
  Also the report_outbound needed to have the right
  lock when its called which it did not.. I added
  the lock with of course a flag since we want to
  have the lock before we call it in the restart
  case.
  
  This also fixed the FIX ME case where, in the cookie
  collision case, we mark for retransmit any that
  were bundled with the cookie that was dropped.
  This also means changes to the output routine
  so we can assure getting the COOKIE-ACK sent
  BEFORE we retransmit the Data.
  
  Approved by:    gnn
  
  Revision  Changes    Path
  1.3       +1 -0      src/sys/netinet/sctp_constants.h
  1.8       +38 -12    src/sys/netinet/sctp_input.c
  1.6       +11 -2     src/sys/netinet/sctp_output.c
  1.7       +11 -5     src/sys/netinet/sctputil.c
  1.4       +1 -1      src/sys/netinet/sctputil.h


More information about the cvs-all mailing list