Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jul 2013 13:18:19 +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-9@freebsd.org
Subject:   svn commit: r252949 - stable/9/sys/netinet
Message-ID:  <201307071318.r67DIJbf096111@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Sun Jul  7 13:18:19 2013
New Revision: 252949
URL: http://svnweb.freebsd.org/changeset/base/252949

Log:
  MFC r243564:
  Find the endpoint for an incoming packet also if the endpoint
  comes from sctp_peeloff().

Modified:
  stable/9/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/9/sys/netinet/sctp_pcb.c	Sun Jul  7 13:15:56 2013	(r252948)
+++ stable/9/sys/netinet/sctp_pcb.c	Sun Jul  7 13:18:19 2013	(r252949)
@@ -1226,7 +1226,8 @@ sctp_findassociation_ep_addr(struct sctp
 		SCTP_TCB_UNLOCK(locked_tcb);
 	}
 	SCTP_INP_INFO_RLOCK();
-	if (inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) {
+	if ((inp->sctp_flags & SCTP_PCB_FLAGS_TCPTYPE) ||
+	    (inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL)) {
 		/*-
 		 * Now either this guy is our listener or it's the
 		 * connector. If it is the one that issued the connect, then



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307071318.r67DIJbf096111>