]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
Merge branch 'sctp-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2020 02:27:40 +0000 (19:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Apr 2020 02:27:40 +0000 (19:27 -0700)
commit609120c52db529db7a64daf4cc3aaa59dd4a44ef
treebb3cb42d6ee511b336bcbd7a4617d9f604ab2cb5
parent72579e14a1d3d3d561039dfe7e5f47aaf22e3fd3
parent12dfd78e3a74825e6f0bc8df7ef9f938fbc6bfe3
Merge branch 'sctp-fixes'

Jere Leppänen says:

====================
sctp: Fix problems with peer restart when in SHUTDOWN-PENDING state and socket is closed

These patches are related to the scenario described in commit
bdf6fa52f01b ("sctp: handle association restarts when the socket is
closed."). To recap, when our association is in SHUTDOWN-PENDING state
and we've closed our one-to-one socket, while the peer crashes without
being detected, restarts and reconnects using the same addresses and
ports, we start association shutdown.

In this case, Cumulative TSN Ack in the SHUTDOWN that we send has
always been incorrect. Additionally, bundling of the SHUTDOWN with the
COOKIE-ACK was broken by a later commit. This series fixes both of
these issues.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>