]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit463ec311a26d02fcd22563b8dc780f75b3fa4f85
tree10f6a612d97b3ab5ba4ecd75b6decb669f178d76
parent5c4a36d185696eddfd2186d5972e6ffdda95a9a0
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