]> git.baikalelectronics.ru Git - 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)
commita9af0e1d49b7ccbb2665b68b7b25643b1adca484
treebb3cb42d6ee511b336bcbd7a4617d9f604ab2cb5
parentb0813ca8f4d8c2a3d73b6b8af5f3b43833ac4b49
parentec75b7bf11e3b4bd5813e9b390e0366d129140b9
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
5a77c11b83ad ("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>