diff options
author | adrian <adrian@FreeBSD.org> | 2014-02-15 07:57:01 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2014-02-15 07:57:01 +0000 |
commit | c11e4e28da4667555d0133cbb5d237f1b1711bb2 (patch) | |
tree | bc5c1e6b643c5b4d6f1474aa5fa890fbf72d7cdf | |
parent | 9f80368a8943d456c57298065e164bdc01cdcb86 (diff) | |
download | FreeBSD-src-c11e4e28da4667555d0133cbb5d237f1b1711bb2.zip FreeBSD-src-c11e4e28da4667555d0133cbb5d237f1b1711bb2.tar.gz |
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.
-rw-r--r-- | sys/net/flowtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/flowtable.c b/sys/net/flowtable.c index 4d97add..c53c026 100644 --- a/sys/net/flowtable.c +++ b/sys/net/flowtable.c @@ -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; } |