]> git.proxmox.com Git - ovs.git/commit
dpif-netlink: Allow offloading of flows with dl_type 0x1234.
authorIlya Maximets <i.maximets@samsung.com>
Tue, 30 Jul 2019 14:00:06 +0000 (17:00 +0300)
committerIlya Maximets <i.maximets@samsung.com>
Wed, 31 Jul 2019 11:44:15 +0000 (14:44 +0300)
commit0770429e38f49df374f6c337f4969504a97ab1b2
treeb9aea51c4b78ffde9eba008c3db086c22862bb40
parent22b78906e6c8f76cc1989eec648f9b6e36cf1266
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@mellanox.com>
Fixes: 8b668ee3f0cc ("dpif-netlink: Use netdev flow put api to insert a flow")
Reported-by: Eli Britstein <elibr@mellanox.com>
Acked-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
lib/dpif-netlink.c