Check wildcards for in_port != out_port output validation.
authorJustin Pettit <jpettit@nicira.com>
Wed, 14 Jan 2009 22:52:59 +0000 (14:52 -0800)
committerJustin Pettit <jpettit@nicira.com>
Wed, 14 Jan 2009 23:19:12 +0000 (15:19 -0800)
commit83090c3ae07f97af5d3ede3629d7c33e45545048
tree22fa740b8de06223d671321ed50aeb73f4842224
parent2e24b5fdefd892579657135f7e3eff2fc4abce50
Check wildcards for in_port != out_port output validation.

OpenFlow requires that traffic that is to be sent out the interface it
came in on use the OFPP_IN_PORT virtual port.  The action validation
code that enforces this ignored the wildcards field, which meant it was
using the garbage 'in_port' value for this check.
(cherry picked from commit 1b580f69f3dfacee49532f71abd72755a09eabd4)
datapath/dp_act.c