1. 29 1月, 2008 1 次提交
    • G
      [DCCP]: Promote CCID2 as default CCID · e333b3ed
      Gerrit Renker 提交于
      This patch addresses the following problems:
      
       1. DCCP relies for its proper functioning on having at least one CCID module
          enabled (as in TCP plugable congestion control). Currently it is possible to
          disable both CCIDs and thus leave the DCCP module in a compiled, but entirely
          non-functional state: no sockets can be created when no CCID is available.
          Furthermore, the protocol is (again like TCP) not intended to be used without
          CCIDs. Last, a non-empty CCID list is needed for doing CCID feature negotiation.
      
       2. Internally the default CCID that is advertised by the Linux host is set to CCID2
          (DCCPF_INITIAL_CCID in include/linux/dccp.h). Disabling CCID2 in the Kconfig
          menu without changing the defaults leads to a failure `module not found' when
          trying to load the dccp module (which internally tries to load the default CCID).
      
       3. The specification (RFC 4340, sec. 10) treats CCID2 somewhat like a
          `minimum common denominator'; the specification says that:
      
          * "New connections start with CCID 2 for both endpoints"
      
          * "A DCCP implementation intended for general use, such as an implementation in a
             general-purpose operating system kernel, SHOULD implement at least CCID 2.
             The intent is to make CCID 2 broadly available for interoperability [...]"
      
          Providing CCID2 as minimum-required CCID (like Reno/Cubic in TCP) thus seems reasonable.
      
      Hence this patch automatically selects CCID2 when DCCP is enabled. Documentation also added.
      
      Discussions with Ian McDonald on this subject are gratefully acknowledged.
      Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
      Signed-off-by: NIan McDonald <ian.mcdonald@jandi.co.nz>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e333b3ed
  2. 04 12月, 2006 1 次提交
    • G
      [DCCP]: Use higher RTO default for CCID3 · 8a508ac2
      Gerrit Renker 提交于
      The TFRC nofeedback timer normally expires after the maximum of 4
      RTTs and twice the current send interval (RFC 3448, 4.3). On LANs
      with a small RTT this can mean a high processing load and reduced
      performance, since then the nofeedback timer is triggered very
      frequently.
      
      This patch provides a configuration option to set the bound for the
      nofeedback timer, using as default 100 milliseconds.
      
      By setting the configuration option to 0, strict RFC 3448 behaviour
      can be enforced for the nofeedback timer.
      Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
      Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
      8a508ac2
  3. 03 12月, 2006 2 次提交
  4. 25 10月, 2006 1 次提交
  5. 23 9月, 2006 1 次提交
  6. 21 3月, 2006 2 次提交
  7. 30 8月, 2005 2 次提交