[ovs-git] [openvswitch/ovs] 1db882: dpif-netlink: Allow offloading of flows with dl_ty...
Ilya Maximets
noreply at github.com
Wed Jul 31 13:58:18 UTC 2019
Branch: refs/heads/branch-2.10
Home: https://github.com/openvswitch/ovs
Commit: 1db882991fe35a3ee66cdae1f7495c6bf70a8c22
https://github.com/openvswitch/ovs/commit/1db882991fe35a3ee66cdae1f7495c6bf70a8c22
Author: Ilya Maximets <i.maximets at samsung.com>
Date: 2019-07-31 (Wed, 31 Jul 2019)
Changed paths:
M lib/dpif-netlink.c
Log Message:
-----------
dpif-netlink: Allow offloading of flows with dl_type 0x1234.
'dpif_probe_feature()' always has DPIF_FP_PROBE flag set. Other probing
code uses dpif_execute() with DPIF_OP_EXECUTE, hence never calls
parse_flow_put().
Thus, this 'if' statement is wrong and should be removed as it only
forbids offloading of the real legitimate flows with dl_type 0x1234.
Dummy flows never reach this code.
CC: Paul Blakey <paulb at mellanox.com>
Fixes: 8b668ee3f0cc ("dpif-netlink: Use netdev flow put api to insert a flow")
Reported-by: Eli Britstein <elibr at mellanox.com>
Acked-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Ilya Maximets <i.maximets at samsung.com>
More information about the git
mailing list