From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brown Subject: Re: [IPXE PATCH] [dhcp] Use random transaction ID to associate messages Date: Mon, 19 Sep 2011 17:38:09 +0100 Message-ID: <201109191738.09814.mcb30@ipxe.org> References: <20110918012104.2823.64476.stgit@t> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: ipxe-devel-VUaoxwjD3yI@public.gmane.org, ehabkost-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org To: Amos Kong , kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Return-path: In-Reply-To: <20110918012104.2823.64476.stgit@t> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: ipxe-devel-bounces-Ajx3hB6KsW1nerjlECmc1w@public.gmane.org Errors-To: ipxe-devel-bounces-Ajx3hB6KsW1nerjlECmc1w@public.gmane.org List-Id: kvm.vger.kernel.org On Sunday 18 Sep 2011 02:21:04 Amos Kong wrote: > Users may boot up a QEMU guest without default mac address, it's easy to > repeat, it always to be failed to get IP with PXE boot. > RFC suggests us to use random xid, it's necessary. This patch generates > random id when start dhcp, and record it to netdev struct. I've applied a modified version of this patch, which preserves the separation of abstractions between "net device" and "DHCP client": http://git.ipxe.org/ipxe.git/commitdiff/12767d2 Thanks! Michael