1. 09 9月, 2008 1 次提交
  2. 04 9月, 2008 1 次提交
    • G
      dccp ccid-2: Remove old infrastructure · 5a577b48
      Gerrit Renker 提交于
      This removes
       * functions for which updates have been provided in the preceding patches and
       * the @av_vec_len field - it is no longer necessary since the buffer length is
         now always computed dynamically;
       * conditional debugging code (CONFIG_IP_DCCP_ACKVEC).
      
      The reason for removing the conditional debugging code is that Ack Vectors are 
      an almost inevitable necessity - RFC 4341 says that for CCID-2, Ack Vectors must
      be used. Furthermore, the code would be only interesting for coding - after some 
      extensive testing with this patch set, having the debug code around is no longer
      of real help.
      Signed-off-by: NGerrit Renker <gerrit@erg.abdn.ac.uk>
      5a577b48
  3. 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
  4. 25 5月, 2007 1 次提交
  5. 03 12月, 2006 2 次提交
  6. 25 10月, 2006 1 次提交
  7. 25 9月, 2006 1 次提交
  8. 23 6月, 2006 1 次提交
  9. 21 3月, 2006 2 次提交
  10. 30 8月, 2005 6 次提交