]> 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)
commit987d6a34993017761d962bb3fc258832c8f700e2
treebb3cb42d6ee511b336bcbd7a4617d9f604ab2cb5
parent2455f7d485b69937b99cddd381702c961f41ee80
parentb53bcdd57ffea6c53710877d8390bfc6d432ca8e
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
56a0a25436c2 ("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>