From a478fee3aa9c19b3428d3ac7018bb20d257639b3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 16 Oct 2012 11:01:27 -0700 Subject: [PATCH] nicira-ext: Clarify behavior of overlapping src and dst for NXAST_REG_MOVE. Reported-by: Pankaj Thakkar Signed-off-by: Ben Pfaff --- include/openflow/nicira-ext.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index 8e6af529..255e30df 100644 --- a/include/openflow/nicira-ext.h +++ b/include/openflow/nicira-ext.h @@ -502,6 +502,10 @@ OFP_ASSERT(sizeof(struct nx_action_pop_queue) == 16); * The switch will reject actions for which src_ofs+n_bits is greater than the * width of 'src' or dst_ofs+n_bits is greater than the width of 'dst' with * error type OFPET_BAD_ACTION, code OFPBAC_BAD_ARGUMENT. + * + * This action behaves properly when 'src' overlaps with 'dst', that is, it + * behaves as if 'src' were copied out to a temporary buffer, then the + * temporary buffer copied to 'dst'. */ struct nx_action_reg_move { ovs_be16 type; /* OFPAT_VENDOR. */ -- 2.30.2