Received: from eggs.gnu.org ([2001:4830:134:3::10]:50742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ztge7-0000IJ-3A for qemu-devel@nongnu.org; Tue, 03 Nov 2015 13:49:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ztge3-0007xQ-Kq for qemu-devel@nongnu.org; Tue, 03 Nov 2015 13:49:27 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58510) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ztge3-0007x1-Fq for qemu-devel@nongnu.org; Tue, 03 Nov 2015 13:49:23 -0500 Date: Wed, 4 Nov 2015 00:19:16 +0530 (IST) From: P J P In-Reply-To: <5625AEE0.7070908@redhat.com> Message-ID: References: <5620F082.5040007@redhat.com> <5625AEE0.7070908@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [Qemu-devel] [PATCH] eepro100: prevent an infinite loop over same command block List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: max , Jason Wang +-- On Tue, 20 Oct 2015, Jason Wang wrote --+ | Can this survive if we had a chain like? | A->B->A No, current patch wouldn't cope with it. Though I wonder if such a loop is possible? | If not, looks like we need to limit the maximum number of commands in a | chain? (e.g 256) Okay, I'll update the patch. @max, @Qinghao: did you have chance to test the current patch? (just checking) Thank you. -- - P J P 47AF CE69 3A90 54AA 9045 1053 DD13 3D32 FE5B 041F