From: Justin Pettit Date: Tue, 3 Jan 2012 21:34:20 +0000 (-0800) Subject: ofproto-dpif: Fake-up OFPP_NONE input bundle for mirroring and normal. X-Git-Tag: sliver-openvswitch-0.1-1~517 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=33158a18daadcb4c7eaddb226fcfbdcca54539b7;hp=33158a18daadcb4c7eaddb226fcfbdcca54539b7;p=sliver-openvswitch.git ofproto-dpif: Fake-up OFPP_NONE input bundle for mirroring and normal. Both mirroring and "normal" processing make use of the input bundle to perform various sanity checks. Controller-generated traffic typically uses an ingress port of OFPP_NONE, which doesn't have a corresponding input bundle. This commit fakes one up well enough that mirroring and "normal" processing succeed. We looked at creating an actual bundle based on the "real" OFPP_NONE. This was even uglier, since there were even more special-cases that needed to be handled, including having to hide it from port queries. Reported-by: Jesse Gross Signed-off-by: Justin Pettit ---