wdp-xflow: Always report an up-to-date port list in wx_port_list().
authorBen Pfaff <blp@nicira.com>
Thu, 3 Feb 2011 00:28:51 +0000 (16:28 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 3 Feb 2011 00:29:17 +0000 (16:29 -0800)
commitfbb55f2500dcc235828bf6f9a8319c14cc07fd10
tree827d46c1209489cfd8920ad08530b05d206f8d1d
parentdf70a0a1cfb8fe93b25ecfa9fc01c835d055c9a9
wdp-xflow: Always report an up-to-date port list in wx_port_list().

Until now wx_port_list() has reported the cached list of ports kept in
wx->ports.  This won't work, however, in a followup patch when bridge.c
switches from using an xfif to using a wdp, because the bridge
reconfiguration code expects to add and delete ports and have the list
of ports returned by wx_port_list() updated immediately.
ofproto/wdp-xflow.c