diff options
author | Gerrit Renker | 2008-12-08 01:16:27 -0800 |
---|---|---|
committer | David S. Miller | 2008-12-08 01:16:27 -0800 |
commit | 991d927c8652b2ab51bd8eef2b773bb2c77d457b (patch) | |
tree | b21cab0ebe4b9f93a2c57b6dc6cd2f38ec828301 /net/dccp/output.c | |
parent | 192b27ff35bad4cf76cc4239419e9f805935e4f8 (diff) |
dccp: Integration of dynamic feature activation - part 3 (client side)
This integrates feature-activation in the client:
1. When dccp_parse_options() fails, the reset code is already set; request_sent\
_state_process() currently overrides this with `Packet Error', which is not
intended - changed to use the reset code supplied by dccp_parse_options().
2. When feature negotiation fails, the socket should be marked as not usable,
so that the application is notified that an error occurred. This is achieved
by a new label 'unable_to_proceed': generating an error code of `Aborted',
setting the socket state to CLOSED, returning with ECOMM in sk_err.
3. Avoids parsing the Ack twice in Respond state by not doing option processing
again in dccp_rcv_respond_partopen_state_process (as option processing has
already been done on the request_sock in dccp_check_req).
Since this addresses congestion-control initialisation, a corresponding
FIXME has been removed.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Acked-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/output.c')
0 files changed, 0 insertions, 0 deletions