cvs commit: src/sys/netinet sctp_indata.c sctp_input.c sctp_input.h sctp_output.c sctp_pcb.c sctp_var.h sctputil.c

Randall Stewart rrs at FreeBSD.org
Mon Jul 2 19:22:23 UTC 2007


rrs         2007-07-02 19:22:22 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          sctp_indata.c sctp_input.c sctp_input.h 
                         sctp_output.c sctp_pcb.c sctp_var.h 
                         sctputil.c 
  Log:
  - Consolidate the code that free's chunks to actually also
    call the sctp_free_remote_address() function.
  - Assure that when we allocate a chunk the whoTo is NULL,
    also when we free it and place it into the cache we NULL
    it (that way the consolidation code will always work).
  - Fix a small race, when a empty data holder is left on the stream
    out queue, and both sides do a shutdown, the empty data holder
    would prevent us from sending a SHUTDOWN-ACK and at the same time we
    never  would cleanup the empty holder (since nothing was ever in queue).
    We now add a utility function that a) cleans up empty holders and
    b) properly determines if there are still pending data chunks on
    the stream out wheel.
  Approved by:    re at freebsd.org (Ken Smith)
  
  Revision  Changes    Path
  1.36      +15 -11    src/sys/netinet/sctp_indata.c
  1.48      +64 -15    src/sys/netinet/sctp_input.c
  1.7       +3 -0      src/sys/netinet/sctp_input.h
  1.44      +10 -10    src/sys/netinet/sctp_output.c
  1.46      +0 -1      src/sys/netinet/sctp_pcb.c
  1.14      +5 -0      src/sys/netinet/sctp_var.h
  1.50      +0 -6      src/sys/netinet/sctputil.c


More information about the cvs-src mailing list