Skip to content

Commit 7e9269a

Browse files
lxindavem330
authored andcommitted
Revert "sctp: Fix bundling of SHUTDOWN with COOKIE-ACK"
This can be reverted as shutdown and cookie_ack chunk are using the same asoc since the last patch. This reverts commit 145cb2f. Signed-off-by: Xin Long <[email protected]> Acked-by: Marcelo Ricardo Leitner <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 35b4f24 commit 7e9269a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

net/sctp/sm_statefuns.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,7 +1892,7 @@ static enum sctp_disposition sctp_sf_do_dupcook_a(
18921892
*/
18931893
sctp_add_cmd_sf(commands, SCTP_CMD_REPLY, SCTP_CHUNK(repl));
18941894
return sctp_sf_do_9_2_start_shutdown(net, ep, asoc,
1895-
SCTP_ST_CHUNK(0), repl,
1895+
SCTP_ST_CHUNK(0), NULL,
18961896
commands);
18971897
} else {
18981898
sctp_add_cmd_sf(commands, SCTP_CMD_NEW_STATE,
@@ -5536,7 +5536,7 @@ enum sctp_disposition sctp_sf_do_9_2_start_shutdown(
55365536
* in the Cumulative TSN Ack field the last sequential TSN it
55375537
* has received from the peer.
55385538
*/
5539-
reply = sctp_make_shutdown(asoc, arg);
5539+
reply = sctp_make_shutdown(asoc, NULL);
55405540
if (!reply)
55415541
goto nomem;
55425542

@@ -6134,7 +6134,7 @@ enum sctp_disposition sctp_sf_autoclose_timer_expire(
61346134
disposition = SCTP_DISPOSITION_CONSUME;
61356135
if (sctp_outq_is_empty(&asoc->outqueue)) {
61366136
disposition = sctp_sf_do_9_2_start_shutdown(net, ep, asoc, type,
6137-
NULL, commands);
6137+
arg, commands);
61386138
}
61396139

61406140
return disposition;

0 commit comments

Comments
 (0)