diff options
| author | David S. Miller <davem@davemloft.net> | 2021-05-01 01:06:34 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-05-01 01:06:34 +0300 |
| commit | c5fab809bf299d352e35808023e5c02f99d18b06 (patch) | |
| tree | 5f5a2a3eeae31dce1af489113c3e1792fa834ee6 /include | |
| parent | c5197b4ec932f34934944859ca78086bd910edc9 (diff) | |
| parent | 51eac7f2f06b5f60d22dfb06c48d98a227507b8e (diff) | |
| download | linux-c5fab809bf299d352e35808023e5c02f99d18b06.tar.xz | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/sctp/command.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/sctp/command.h b/include/net/sctp/command.h index e8df72e1627a..5e848884ff61 100644 --- a/include/net/sctp/command.h +++ b/include/net/sctp/command.h @@ -68,7 +68,6 @@ enum sctp_verb { SCTP_CMD_ASSOC_FAILED, /* Handle association failure. */ SCTP_CMD_DISCARD_PACKET, /* Discard the whole packet. */ SCTP_CMD_GEN_SHUTDOWN, /* Generate a SHUTDOWN chunk. */ - SCTP_CMD_UPDATE_ASSOC, /* Update association information. */ SCTP_CMD_PURGE_OUTQUEUE, /* Purge all data waiting to be sent. */ SCTP_CMD_SETUP_T2, /* Hi-level, setup T2-shutdown parms. */ SCTP_CMD_RTO_PENDING, /* Set transport's rto_pending. */ |
