]> git.proxmox.com Git - mirror_ovs.git/commit - ofproto/ofproto-dpif-xlate.c
ofproto-dpif-xlate: Fix mirroring interaction with recirculation.
authorBen Pfaff <blp@nicira.com>
Thu, 30 Jul 2015 05:13:26 +0000 (22:13 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 31 Jul 2015 22:15:32 +0000 (15:15 -0700)
commit29bae5412ea3c6a1e20d79afd25c11b968dffa05
tree94b28adb689535a3d6d1710c88cebc49e9da144b
parentd6bef3ccd3df4d10a50fcd93a3e85202c49807db
ofproto-dpif-xlate: Fix mirroring interaction with recirculation.

Before this commit, mirroring state was not preserved across recirculation,
which could result in a packet being mirrored to the same destination both
before and after recirculation.  This commit fixes the problem and adds a
test to avoid regression.

Found by inspection.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
ofproto/ofproto-dpif-rid.c
ofproto/ofproto-dpif-rid.h
ofproto/ofproto-dpif-xlate.c
tests/ofproto-dpif.at