]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'sctp-chunk-fix'
authorDavid S. Miller <davem@davemloft.net>
Fri, 30 Apr 2021 22:06:34 +0000 (15:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Apr 2021 22:06:34 +0000 (15:06 -0700)
commitc728f45763627e38d9b7027c870ab353dd7aaa2c
tree5f5a2a3eeae31dce1af489113c3e1792fa834ee6
parent1dc45bc1794cef303c62f549c143d0e9b83cc1b8
parent6ecdaf419b419ff3c31f6f71659eb3d705d294ae
Merge branch 'sctp-chunk-fix'

Xin Long says:

====================
sctp: always send a chunk with the asoc that it belongs to

Currently when processing a duplicate COOKIE-ECHO chunk, a new temp
asoc would be created, then it creates the chunks with the new asoc.
However, later on it uses the old asoc to send these chunks, which
has caused quite a few issues.

This patchset is to fix this and make sure that the COOKIE-ACK and
SHUTDOWN chunks are created with the same asoc that will be used to
send them out.

v1->v2:
  - see Patch 3/3.
====================

Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>