Revert "Revert "sctp: Fix bundling of SHUTDOWN with COOKIE-ACK""
authorXin Long <lucien.xin@gmail.com>
Sun, 2 May 2021 20:36:58 +0000 (04:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 May 2021 20:30:04 +0000 (13:30 -0700)
commit22008f560bd36028dd459692794edf2e11e017a5
tree8302fee9b47275ad22e93fe97740b4771181076b
parent643001b47adc844ae33510c4bb93c236667008a3
Revert "Revert "sctp: Fix bundling of SHUTDOWN with COOKIE-ACK""

This reverts commit 7e9269a5acec6d841d22e12770a0b02db4f5d8f2.

As Jere notice, commit 35b4f24415c8 ("sctp: do asoc update earlier
in sctp_sf_do_dupcook_a") only keeps the SHUTDOWN and COOKIE-ACK
with the same asoc, not transport. So we have to bring this patch
back.

Reported-by: Jere Leppänen <jere.leppanen@nokia.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_statefuns.c