From: Keir Fraser Subject: Re: [patch] fix xenbus race Date: Mon, 31 Oct 2005 15:25:53 +0000 Message-ID: <2de67bd72055aa2ecf770f1ee96a27bf@cl.cam.ac.uk> References: <43662725.5030608@suse.de> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <43662725.5030608@suse.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gerd Knorr Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 31 Oct 2005, at 14:16, Gerd Knorr wrote: > Watch events may get lost, the xenstored response races against the > new watch being added to the watch list in register_xenbus_watch(). > Fixed by adding the watch to the list unconditionally, and remove it > in the error case. > > That one fixes the network issues I'm seeing. Due to the race the > "online" hotplug event for the vif backend was lost sometimes. > > please apply, Thanks. That's an embarrassing race introduced by me. :-( -- Keir