From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH 17/26] await_tcp(): Run check_ip on each loop iteration Date: Mon, 28 Sep 2015 11:15:49 +0100 Message-ID: <1443435349.25250.243.camel@citrix.com> References: <1443181028-22705-1-git-send-email-ian.jackson@eu.citrix.com> <1443208522-24905-1-git-send-email-ian.jackson@eu.citrix.com> <1443208522-24905-9-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZgVTW-0006wS-IT for xen-devel@lists.xenproject.org; Mon, 28 Sep 2015 10:16:02 +0000 In-Reply-To: <1443208522-24905-9-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson , xen-devel@lists.xenproject.org Cc: Robert Ho List-Id: xen-devel@lists.xenproject.org On Fri, 2015-09-25 at 20:15 +0100, Ian Jackson wrote: > From: Robert Ho > > await_tcp is often invoked after a reboot. > > In this situation the target's IP address may change. If this happens > while await_tcp is running, we would continue to poll the old IP address. > Fix this by running target_check_ip on each iteration. > > Signed-off-by: Robert Ho > Signed-off-by: Ian Jackson Acked-by: Ian Campbell