ofproto-dpif: Don't output to nonexistent ports.
authorEthan Jackson <ethan@nicira.com>
Sat, 15 Dec 2012 03:34:13 +0000 (19:34 -0800)
committerEthan Jackson <ethan@nicira.com>
Fri, 21 Dec 2012 23:24:21 +0000 (15:24 -0800)
commita4454ac67c6d38740914d157f73b5083f6912172
tree6bd0c82f0c0f54e67d475850f7ca814d7bd6f05e
parent9a2f7074d5f514a2ea54155a12f0616c44e1d475
ofproto-dpif: Don't output to nonexistent ports.

In older versions of Open vSwitch, one could reasonably predict
that the datapath port number would be the same as the OpenFlow
port number even for ports which may not exist yet.  With the
single datapath model, it's no possible longer to make this
prediction.  Therefore, instead of attempting to, this code simply
drops packets which output to a nonexistent port.

Signed-off-by: Ethan Jackson <ethan@nicira.com>
ofproto/ofproto-dpif.c