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>
This commit is contained in:
@@ -5307,6 +5307,8 @@ sctp_disposition_t sctp_sf_t1_cookie_timer_expire(const struct sctp_endpoint *ep
|
||||
if (!repl)
|
||||
return SCTP_DISPOSITION_NOMEM;
|
||||
|
||||
sctp_add_cmd_sf(commands, SCTP_CMD_INIT_CHOOSE_TRANSPORT,
|
||||
SCTP_CHUNK(repl));
|
||||
/* Issue a sideeffect to do the needed accounting. */
|
||||
sctp_add_cmd_sf(commands, SCTP_CMD_COOKIEECHO_RESTART,
|
||||
SCTP_TO(SCTP_EVENT_TIMEOUT_T1_COOKIE));
|
||||
|
Reference in New Issue
Block a user