aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2008-08-23 13:28:27 +0200
committerGerrit Renker <[email protected]>2008-08-27 07:21:59 +0200
commit33c449675c0e371edd35b3bd7ce8a14451ff2f0b (patch)
tree56edd502b671458bec54fdd7b62fb26b946d83f1 /include/linux/timerqueue.h
parenta4356b2920fd4861dd6c75f558749fa5c38a00e8 (diff)
dccp: Always generate a Reset in response to option errors
RFC4340 states that if a packet is received with an option error (such as a Mandatory Option as the last byte of the option list), the endpoint should repond with a Reset. In the LISTEN and RESPOND states, the endpoint correctly reponds with Reset, while in the REQUEST/OPEN states, packets with option errors are just ignored. The packet sequence is as follows: Case 1: Endpoint A Endpoint B (CLOSED) (CLOSED) <---------------- REQUEST RESPONSE -----------------> (*1) (with invalid option) <---------------- RESET (with Reset Code 5, "Option Error") (*1) currently just ignored, no Reset is sent Case 2: Endpoint A Endpoint B (OPEN) (OPEN) DATA-ACK -----------------> (*2) (with invalid option) <---------------- RESET (with Reset Code 5, "Option Error") (*2) currently just ignored, no Reset is sent This patch fixes the problem, by generating a Reset instead of silently ignoring option errors. Signed-off-by: Wei Yongjun <[email protected]> Acked-by: Arnaldo Carvalho de Melo <[email protected]> Acked-by: Gerrit Renker <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions