svn commit: r252949 - stable/9/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Sun Jul 7 13:18:19 UTC 2013
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
More information about the svn-src-stable-9
mailing list