summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2013-03-08 01:03:39 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2013-03-08 01:03:39 +0000
commit57f628be7ed07ce98c911559b531fe82cb8438f4 (patch)
treea33988ab91ff4b2431281913a460ccc16648c419
parent392b85972c4e8fda5b3f0a9eecbb51707b2e8b59 (diff)
Notes
-rw-r--r--sys/netinet/sctp_pcb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index fb32635749996..b2703cdd68eb2 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -1226,7 +1226,8 @@ sctp_findassociation_ep_addr(struct sctp_inpcb **inp_p, struct sockaddr *remote,
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