Date: Thu, 5 Oct 2017 13:29:54 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r324317 - head/sys/netinet Message-ID: <201710051329.v95DTs7Q065872@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Thu Oct 5 13:29:54 2017 New Revision: 324317 URL: https://svnweb.freebsd.org/changeset/base/324317 Log: 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 Modified: head/sys/netinet/sctp_input.c Modified: head/sys/netinet/sctp_input.c ============================================================================== --- head/sys/netinet/sctp_input.c Thu Oct 5 13:22:14 2017 (r324316) +++ head/sys/netinet/sctp_input.c Thu Oct 5 13:29:54 2017 (r324317) @@ -4673,6 +4673,7 @@ sctp_process_control(struct mbuf *m, int iphlen, int * 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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710051329.v95DTs7Q065872>