Make sure that the flowtable flowid is only set to m_flowid if there
isn't one already supplied. The previous flowtable code also did this. Reviewed by: glebius Sponsored by: Netflix, Inc.
This commit is contained in:
parent
9f80368a89
commit
c11e4e28da
@ -1002,7 +1002,7 @@ flowtable_lookup_common(struct flowtable *ft, struct sockaddr_storage *ssa,
|
||||
}
|
||||
|
||||
success:
|
||||
if (m->m_flags & M_FLOWID) {
|
||||
if (! (m->m_flags & M_FLOWID)) {
|
||||
m->m_flags |= M_FLOWID;
|
||||
m->m_pkthdr.flowid = fle->f_fhash;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user