ofproto-dpif-xlate: Drop packets received from mirror output ports earlier.
authorBen Pfaff <blp@nicira.com>
Wed, 29 Jul 2015 21:21:52 +0000 (14:21 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 31 Jul 2015 22:14:33 +0000 (15:14 -0700)
commitbef1403ec175fc195751d6162262baa5f063fa96
tree437cfcd636902cd1c84292b186dc5348d04a47e3
parent14d2b8b2f1a52ea440e61b84738193d5357c1af8
ofproto-dpif-xlate: Drop packets received from mirror output ports earlier.

Packets should never be received on mirror output ports.  We drop them
when we do receive them.  But by putting them through the processing that
we did until now, we made it possible for MAC learning, etc. to happen
based on these packets.  This commit drops them earlier to prevent that.

Found by inspection.

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