Re: [ovs-dev] [PATCH] ofproto: Do not postpone closing the mgmt socket

2014-10-01 Thread Ben Pfaff
On Wed, Oct 01, 2014 at 11:54:09AM -0700, Daniele Di Proietto wrote: > When the bridge datapath_type is changed, ofproto is destroyed and immediately > recreated. This involves closing and reopening the mgmt socket. If the > destruction of the 'connmgr' is postponed, a race condition might happen,

[ovs-dev] [PATCH] ofproto: Do not postpone closing the mgmt socket

2014-10-01 Thread Daniele Di Proietto
When the bridge datapath_type is changed, ofproto is destroyed and immediately recreated. This involves closing and reopening the mgmt socket. If the destruction of the 'connmgr' is postponed, a race condition might happen, where we first recreate the socket and then try to destroy it. Reported-by