dpif-netdev: Make "packet-out" with in_port=OFPP_CONTROLLER work again.
authorBen Pfaff <blp@nicira.com>
Tue, 9 Jul 2013 16:23:02 +0000 (09:23 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 11 Jul 2013 17:33:35 +0000 (10:33 -0700)
commit586ddea56b4dc74f45a6b0eec7e20f503a0d2c76
treee9fb1b5093716c923205149ae52d3ed48431a94b
parent0af7e5ace1d41261c78e4c97e1d6d51b0088db3e
dpif-netdev: Make "packet-out" with in_port=OFPP_CONTROLLER work again.

Commit 4e022ec09e14 (Create specific types for ofp and odp port) broke
OpenFlow OFPP_PACKET_OUT requests that use in_port=OFPP_CONTROLLER.  This
commit fixes the problem and adds a regression test.

CC: Alex Wang <alexw@nicira.com>
Reported-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/dpif-netdev.c
tests/ofproto.at