On Tue, Apr 21, 2020 at 10:03:42PM +0300, Jere Leppänen wrote: > When starting shutdown in sctp_sf_do_dupcook_a(), get the value for > SHUTDOWN Cumulative TSN Ack from the new association, which is > reconstructed from the cookie, instead of the old association, which > the peer doesn't have anymore. > > Otherwise the SHUTDOWN is either ignored or replied to with an ABORT > by the peer because CTSN Ack doesn't match the peer's Initial TSN. > > Fixes: bdf6fa52f01b ("sctp: handle association restarts when the socket is closed.") > Signed-off-by: Jere Leppänen <jere.leppanen@xxxxxxxxx> Nice patches. Thanks. Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@xxxxxxxxx>