[ovs-git] [openvswitch/ovs] 118b21: ofproto-dpif-xlate: translate action_set in clone ...

GitHub noreply at github.com
Thu Mar 8 18:51:39 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 118b21d93f55f4cdb511d770c90f0d49bd624187
      https://github.com/openvswitch/ovs/commit/118b21d93f55f4cdb511d770c90f0d49bd624187
  Author: Eric Garver <e at erig.me>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

  Changed paths:
    M ofproto/ofproto-dpif-xlate.c

  Log Message:
  -----------
  ofproto-dpif-xlate: translate action_set in clone action

A clone action saves the action_set prior to performing the clone, then
restores it afterwards. However when xlating the actions it neglects to
consider the action_set so any write_action() inside a clone() are
ignored. Unfortunately patch ports are internally implemented via
clone(). So a frame traversing to a second bridge via patch port will
never be affected by write_action() in the second bridge's flow table.

Lets make clone() aware of the action_set.

Signed-off-by: Eric Garver <e at erig.me>
Signed-off-by: Ben Pfaff <blp at ovn.org>


  Commit: 14ebc6c199a7c3c1097776e18a9c29ced8cc8cc9
      https://github.com/openvswitch/ovs/commit/14ebc6c199a7c3c1097776e18a9c29ced8cc8cc9
  Author: Eric Garver <e at erig.me>
  Date:   2018-03-08 (Thu, 08 Mar 2018)

  Changed paths:
    M tests/ofproto-dpif.at

  Log Message:
  -----------
  tests/ofproto-dpif: New test for action_set after traversing patch port

Signed-off-by: Eric Garver <e at erig.me>
Signed-off-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/2c6761dc0dd8...14ebc6c199a7


More information about the git mailing list