Ensure that the flowid hashtype is assigned to the inp if the flowid
is also assigned.
This commit is contained in:
parent
6cb1f60ec9
commit
ce4c5bcf33
@ -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
|
||||
|
@ -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…
x
Reference in New Issue
Block a user