linux/net/dccp
Gerrit Renker 08831700cc [DCCP]: Send Reset upon Sync in state REQUEST
This fixes the code to correspond to RFC 4340, 7.5.4, which states the
exception that a Sync received in state REQUEST generates a Reset (not
a SyncAck).

To achieve this, only a small change is required. Since
dccp_rcv_request_sent_state_process() already uses the correct Reset Code
number 4 ("Packet Error"), we only need to shift the if-statement a few
lines further down.

(To test this case: replace DCCP_PKT_RESPONSE with DCCP_PKT_SYNC
                    in dccp_make_response.)

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
2007-10-10 16:52:40 -07:00
..
ccids [DCCP]: Simplify interface of dccp_sample_rtt 2007-10-10 16:52:35 -07:00
ackvec.c [NET]: DIV_ROUND_UP cleanup (part two) 2007-10-10 16:48:37 -07:00
ackvec.h [DCCP] ackvec: Convert to ktime_t 2007-10-10 16:48:14 -07:00
ccid.c
ccid.h
dccp.h [DCCP]: Simplify interface of dccp_sample_rtt 2007-10-10 16:52:35 -07:00
diag.c
feat.c [DCCP]: fix memory leak and clean up style - dccp_feat_empty_confirm() 2007-08-13 22:52:10 -07:00
feat.h
input.c [DCCP]: Send Reset upon Sync in state REQUEST 2007-10-10 16:52:40 -07:00
ipv4.c [DCCP]: Remove unneeded pointer newdp from dccp_v4_request_recv_sock() 2007-10-10 16:48:59 -07:00
ipv6.c
ipv6.h
Kconfig
Makefile
minisocks.c [DCCP]: Nuke dccp_timestamp and dccps_epoch, not used anymore 2007-10-10 16:48:17 -07:00
options.c [DCCP]: Provide 10s of microsecond timesource 2007-10-10 16:52:35 -07:00
output.c [DCCP]: Parameter renaming 2007-10-10 16:52:37 -07:00
probe.c [NET]: Make /proc/net per network namespace 2007-10-10 16:49:06 -07:00
proto.c [DCCP]: Provide 10s of microsecond timesource 2007-10-10 16:52:35 -07:00
sysctl.c
timer.c [DCCP]: Provide 10s of microsecond timesource 2007-10-10 16:52:35 -07:00