Ensure that the flowid hashtype is assigned to the inp if the flowid

is also assigned.
This commit is contained in:
adrian 2014-05-18 22:34:06 +00:00
parent 6cb1f60ec9
commit ce4c5bcf33
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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);
}
/*