From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O Date: Sat, 08 Mar 2014 18:38:07 -0500 (EST) Message-ID: <20140308.183807.1351815817743999901.davem@davemloft.net> References: <20140308.013658.918013334851017662.davem@davemloft.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: olaf@aepfle.de, netdev@vger.kernel.org, jasowang@redhat.com, linux-kernel@vger.kernel.org, apw@canonical.com, devel@linuxdriverproject.org To: kys@microsoft.com Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: driverdev-devel-bounces@linuxdriverproject.org List-Id: netdev.vger.kernel.org From: KY Srinivasan Date: Sat, 8 Mar 2014 10:27:54 +0000 > "len" would have gotten decremented prior to the check and in the > case we are talking about, "len" would be zero and so j would not > get incremented. You are correct, this is the part of the logic in this case which I missed. Thanks.