Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Apr 2018 19:42:54 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r332211 - stable/11/sys/netinet
Message-ID:  <201804071942.w37Jgs4m067109@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sat Apr  7 19:42:53 2018
New Revision: 332211
URL: https://svnweb.freebsd.org/changeset/base/332211

Log:
  MFC r324317:
  
  Ensure that the accept ABORT chunks with the T-bit set only the
  a non-zero matching peer tag is provided.

Modified:
  stable/11/sys/netinet/sctp_input.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/netinet/sctp_input.c
==============================================================================
--- stable/11/sys/netinet/sctp_input.c	Sat Apr  7 19:40:48 2018	(r332210)
+++ stable/11/sys/netinet/sctp_input.c	Sat Apr  7 19:42:53 2018	(r332211)
@@ -4676,6 +4676,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?201804071942.w37Jgs4m067109>