[ovs-git] [openvswitch/ovs] 9185a0: dpif-netlink: Allow offloading of flows with dl_ty...

Ilya Maximets noreply at github.com
Wed Jul 31 13:58:30 UTC 2019


  Branch: refs/heads/branch-2.9
  Home:   https://github.com/openvswitch/ovs
  Commit: 9185a09d8c1a69ca7d3e19cf79b0b06d51e0779d
      https://github.com/openvswitch/ovs/commit/9185a09d8c1a69ca7d3e19cf79b0b06d51e0779d
  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