Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jul 2007 19:22:22 +0000 (UTC)
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   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
Message-ID:  <200707021922.l62JMM84088767@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707021922.l62JMM84088767>