summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_input.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2014-05-18 22:34:06 +0000
committeradrian <adrian@FreeBSD.org>2014-05-18 22:34:06 +0000
commitce4c5bcf333148cc1e43cc8bbefc2da1732cf6a3 (patch)
tree7dc0824daa9154970d31c19da18d4278463edccb /sys/netinet/tcp_input.c
parent6cb1f60ec96b2933e4407d307a6a9583859a2240 (diff)
downloadFreeBSD-src-ce4c5bcf333148cc1e43cc8bbefc2da1732cf6a3.zip
FreeBSD-src-ce4c5bcf333148cc1e43cc8bbefc2da1732cf6a3.tar.gz
Ensure that the flowid hashtype is assigned to the inp if the flowid
is also assigned.
Diffstat (limited to 'sys/netinet/tcp_input.c')
-rw-r--r--sys/netinet/tcp_input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index aac430d..f9a751c 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -905,6 +905,7 @@ findpcb:
inp->inp_flags |= INP_HW_FLOWID;
inp->inp_flags &= ~INP_SW_FLOWID;
inp->inp_flowid = m->m_pkthdr.flowid;
+ inp->inp_flowtype = M_HASHTYPE_GET(m);
}
#ifdef IPSEC
#ifdef INET6
OpenPOWER on IntegriCloud