dccp: Limit feature negotiation to connection setup phase
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Wed, 12 Nov 2008 08:42:58 +0000 (00:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Nov 2008 08:42:58 +0000 (00:42 -0800)
commitf74e91b6cca5889e667193c7e794186db73c2000
tree10f6a612d97b3ab5ba4ecd75b6decb669f178d76
parent6bb3ce25d05f2990c8a19adaf427531430267c1f
dccp: Limit feature negotiation to connection setup phase

This patch limits feature (capability) negotation to the connection setup phase:

 1. Although it is theoretically possible to perform feature negotiation at any
    time (and RFC 4340 supports this), in practice this is prohibitively complex,
    as it requires to put traffic on hold for each new negotiation.
 2. As a byproduct of restricting feature negotiation to connection setup, the
    feature-negotiation retransmit timer is no longer required. This part is now
    mapped onto the protocol-level retransmission.
    Details indicating why timers are no longer needed can be found on
    http://www.erg.abdn.ac.uk/users/gerrit/dccp/notes/feature_negotiation/\
                                      implementation_notes.html

This patch disables anytime negotiation, subsequent patches work out full
feature negotiation support for connection setup.

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/feat.c
net/dccp/options.c
net/dccp/timer.c