Re: [ovs-dev] [PATCH] ofproto-dpif: Continue port dump if a port is missing from dpif-netdev.

2017-01-06 Thread Daniele Di Proietto
On 06/01/2017 09:28, "Ben Pfaff" wrote: >On Thu, Jan 05, 2017 at 08:37:26PM -0800, Daniele Di Proietto wrote: >> bridge_delete_or_reconfigure() deletes every interface that's not dumped >> by OFPROTO_PORT_FOR_EACH(). ofproto_dpif.c:port_dump_next(), used by >> OFPROTO_PORT_FOR_EACH, checks

Re: [ovs-dev] [PATCH] ofproto-dpif: Continue port dump if a port is missing from dpif-netdev.

2017-01-06 Thread Ben Pfaff
On Thu, Jan 05, 2017 at 08:37:26PM -0800, Daniele Di Proietto wrote: > bridge_delete_or_reconfigure() deletes every interface that's not dumped > by OFPROTO_PORT_FOR_EACH(). ofproto_dpif.c:port_dump_next(), used by > OFPROTO_PORT_FOR_EACH, checks if the ofport is in the datapath by > calling port_

[ovs-dev] [PATCH] ofproto-dpif: Continue port dump if a port is missing from dpif-netdev.

2017-01-05 Thread Daniele Di Proietto
bridge_delete_or_reconfigure() deletes every interface that's not dumped by OFPROTO_PORT_FOR_EACH(). ofproto_dpif.c:port_dump_next(), used by OFPROTO_PORT_FOR_EACH, checks if the ofport is in the datapath by calling port_query_by_name(). If port_query_by_name() returns an error, the dump is inter