From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH]: Fix networking scatterlist regressions. Date: Wed, 31 Oct 2007 02:26:43 -0700 (PDT) Message-ID: <20071031.022643.118035583.davem@davemloft.net> References: <20071031074621.GB5059@kernel.dk> <20071031.005802.204286555.davem@davemloft.net> <20071031081428.GF5059@kernel.dk> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, herbert@gondor.apana.org.au, rusty@rustcorp.com.au To: jens.axboe@oracle.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:37584 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1754045AbXJaJ0o (ORCPT ); Wed, 31 Oct 2007 05:26:44 -0400 In-Reply-To: <20071031081428.GF5059@kernel.dk> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Jens Axboe Date: Wed, 31 Oct 2007 09:14:28 +0100 > Subject: [PATCH] [SG] Get rid of __sg_mark_end() > > sg_mark_end() overwrites the page_link information, but all users want > __sg_mark_end() behaviour where we just set the end bit. That is the most > natural way to use the sg list, since you'll fill it in and then mark the > end point. > > So change sg_mark_end() to only set the termination bit. Add a sg_magic > debug check as well, and clear a chain pointer if it is set. > > Signed-off-by: Jens Axboe It doesn't build. I suspect there is something else in your tree that is necessary for this patch to work on it's own. davem@sunset:~/src/GIT/net-2.6$ patch -p1