[ovs-git] [openvswitch/ovs] 45a60c: lib/netdev-tc-offloads: Fix frag first/later trans...
GitHub
noreply at github.com
Thu Mar 29 14:29:59 UTC 2018
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 45a60c21fc17ba31199fa800cdce92cc1f17f06b
https://github.com/openvswitch/ovs/commit/45a60c21fc17ba31199fa800cdce92cc1f17f06b
Author: Roi Dayan <roid at mellanox.com>
Date: 2018-03-29 (Thu, 29 Mar 2018)
Changed paths:
M lib/netdev-tc-offloads.c
Log Message:
-----------
lib/netdev-tc-offloads: Fix frag first/later translation
Fragment mask (any and later) always exists so we need to test
for FLOW_NW_FRAG_LATER only if the state is FLOW_NW_FRAG_ANY.
Before this fix we could pass frag no and first at the same time to TC
which is also not tested there for bad frag state.
This fix make sure we only pass frag first/later if is frag.
Fixes: 83e866067ea6 ("netdev-tc-offloads: Add support for IP fragmentation")
Signed-off-by: Roi Dayan <roid at mellanox.com>
Reviewed-by: Paul Blakey <paulb at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>
More information about the git
mailing list