mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Ensure that the accept ABORT chunks with the T-bit set only the
a non-zero matching peer tag is provided. MFC after: 1 week
This commit is contained in:
parent
b7d499f4d4
commit
ff76c8c9fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324317
@ -4673,6 +4673,7 @@ sctp_process_control(struct mbuf *m, int iphlen, int *offset, int length,
|
||||
if ((((ch->chunk_flags & SCTP_HAD_NO_TCB) == 0) &&
|
||||
(vtag_in == asoc->my_vtag)) ||
|
||||
(((ch->chunk_flags & SCTP_HAD_NO_TCB) == SCTP_HAD_NO_TCB) &&
|
||||
(asoc->peer_vtag != htonl(0)) &&
|
||||
(vtag_in == asoc->peer_vtag))) {
|
||||
/* this is valid */
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user