]> git.proxmox.com Git - ovs.git/commit
ofproto-dpif-xlate: translate action_set in clone action
authorEric Garver <e@erig.me>
Thu, 1 Mar 2018 22:59:41 +0000 (17:59 -0500)
committerBen Pfaff <blp@ovn.org>
Thu, 8 Mar 2018 18:46:49 +0000 (10:46 -0800)
commit118b21d93f55f4cdb511d770c90f0d49bd624187
tree98856bc049b8320cbcced81ff949af332028cf49
parent2c6761dc0dd82d906128d789028c0e0e51a00d78
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@erig.me>
Signed-off-by: Ben Pfaff <blp@ovn.org>
ofproto/ofproto-dpif-xlate.c