diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2008-09-08 14:00:26 -0400 |
---|---|---|
committer | Vlad Yasevich <vladislav.yasevich@hp.com> | 2008-10-01 11:34:16 -0400 |
commit | 96cd0d3d710e64c55e034b77052d7ac46f094759 (patch) | |
tree | 5b068bd865e07232574698a0404dacd1f218f54c /net/sctp/sm_statefuns.c | |
parent | 8190f89dfd09dae0c117fb0745f5a820bd19a5a4 (diff) |
sctp: enable cookie-echo retransmission transport switch
This patch enables cookie-echo retransmission transport switch
feature. If COOKIE-ECHO retransmission happens, it will be sent
to the address other than the one last sent to.
Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/sm_statefuns.c')
-rw-r--r-- | net/sctp/sm_statefuns.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sctp/sm_statefuns.c b/net/sctp/sm_statefuns.c index 81dfaee49b71..ea3a34cbe470 100644 --- a/net/sctp/sm_statefuns.c +++ b/net/sctp/sm_statefuns.c | |||
@@ -5307,6 +5307,8 @@ sctp_disposition_t sctp_sf_t1_cookie_timer_expire(const struct sctp_endpoint *ep | |||
5307 | if (!repl) | 5307 | if (!repl) |
5308 | return SCTP_DISPOSITION_NOMEM; | 5308 | return SCTP_DISPOSITION_NOMEM; |
5309 | 5309 | ||
5310 | sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT, | ||
5311 | SCTP_CHUNK(repl)); | ||
5310 | /* Issue a sideeffect to do the needed accounting. */ | 5312 | /* Issue a sideeffect to do the needed accounting. */ |
5311 | sctp_add_cmd_sf(commands, SCTP_CMD_COOKIEECHO_RESTART, | 5313 | sctp_add_cmd_sf(commands, SCTP_CMD_COOKIEECHO_RESTART, |
5312 | SCTP_TO(SCTP_EVENT_TIMEOUT_T1_COOKIE)); | 5314 | SCTP_TO(SCTP_EVENT_TIMEOUT_T1_COOKIE)); |