summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_pcb.c
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2014-12-04 21:17:50 +0000
committertuexen <tuexen@FreeBSD.org>2014-12-04 21:17:50 +0000
commit48d05792eefd33c1a5930869f2b1879b93285f0a (patch)
tree10fb828e0debefa46c9365101e899e1bb150b556 /sys/netinet/sctp_pcb.c
parent0a499c83bb103f2cd10d39f3e9eac988518559a2 (diff)
downloadFreeBSD-src-48d05792eefd33c1a5930869f2b1879b93285f0a.zip
FreeBSD-src-48d05792eefd33c1a5930869f2b1879b93285f0a.tar.gz
This is the SCTP specific companion of
https://svnweb.freebsd.org/changeset/base/275358 which was provided by Hans Petter Selasky.
Diffstat (limited to 'sys/netinet/sctp_pcb.c')
-rw-r--r--sys/netinet/sctp_pcb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index 2fa99b9..f986375 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -4049,9 +4049,7 @@ sctp_add_remote_addr(struct sctp_tcb *stcb, struct sockaddr *newaddr,
net->flowid = stcb->asoc.my_vtag ^
ntohs(stcb->rport) ^
ntohs(stcb->sctp_ep->sctp_lport);
-#ifdef INVARIANTS
- net->flowidset = 1;
-#endif
+ net->flowtype = M_HASHTYPE_OPAQUE;
if (netp) {
*netp = net;
}
OpenPOWER on IntegriCloud