summaryrefslogtreecommitdiffstats
path: root/lib/hweight.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2008-12-08 01:16:27 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-08 01:16:27 -0800
commit991d927c8652b2ab51bd8eef2b773bb2c77d457b (patch)
treeb21cab0ebe4b9f93a2c57b6dc6cd2f38ec828301 /lib/hweight.c
parent192b27ff35bad4cf76cc4239419e9f805935e4f8 (diff)
downloadblackbird-op-linux-991d927c8652b2ab51bd8eef2b773bb2c77d457b.tar.gz
blackbird-op-linux-991d927c8652b2ab51bd8eef2b773bb2c77d457b.zip
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 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud