aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2015-01-11 21:55:30 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2015-01-11 21:55:30 +0000
commite88f89a393ce3ba845154f2245934474f1d18e13 (patch)
tree1c5cbfc25421a504f2065fdd1801ffb97ab6f8fa
parentd3cfd430746d527e90b1367c4d8e94d4122fb9b0 (diff)
Notes
-rw-r--r--sys/netinet/sctp_pcb.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index e02f46cd1ed2..701a0c23f007 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -1441,9 +1441,6 @@ sctp_findassociation_ep_addr(struct sctp_inpcb **inp_p, struct sockaddr *remote,
}
head = &inp->sctp_tcbhash[SCTP_PCBHASH_ALLADDR(rport,
inp->sctp_hashmark)];
- if (head == NULL) {
- goto null_return;
- }
LIST_FOREACH(stcb, head, sctp_tcbhash) {
if (stcb->rport != rport) {
/* remote port does not match */