mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-16 21:34:10 +00:00
Ensure that the flowid hashtype is assigned to the inp if the flowid
is also assigned.
This commit is contained in:
parent
cc6c187794
commit
2f71993288
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266420
|
@ -905,6 +905,7 @@ tcp_input(struct mbuf *m, int off0)
|
|||
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
|
||||
|
|
|
@ -718,6 +718,7 @@ syncache_socket(struct syncache *sc, struct socket *lso, struct mbuf *m)
|
|||
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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue