Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2013 01:03:40 +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-8@freebsd.org
Subject:   svn commit: r248010 - stable/8/sys/netinet
Message-ID:  <201303080103.r2813eYu084801@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Fri Mar  8 01:03:39 2013
New Revision: 248010
URL: http://svnweb.freebsd.org/changeset/base/248010

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

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

Modified: stable/8/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/8/sys/netinet/sctp_pcb.c	Fri Mar  8 01:01:37 2013	(r248009)
+++ stable/8/sys/netinet/sctp_pcb.c	Fri Mar  8 01:03:39 2013	(r248010)
@@ -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?201303080103.r2813eYu084801>