From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <465602E4.1050807@garzik.org> Date: Thu, 24 May 2007 17:25:56 -0400 From: Jeff Garzik MIME-Version: 1.0 To: Linas Vepstas Subject: Re: [PATCH 1/10] spidernet: skb used after netif_receive_skb References: <20070522230942.GT5921@austin.ibm.com> In-Reply-To: <20070522230942.GT5921@austin.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Andrew Morton , netdev@vger.kernel.org, Florin Malita , cbe-oss-dev@ozlabs.org, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Linas Vepstas wrote: > From: Florin Malita > > The stats update code in spider_net_pass_skb_up() is touching the skb > after it's been passed up to the stack. To avoid that, just update the > stats first. > > Signed-off-by: Florin Malita > Signed-off-by: Linas Vepstas > ---- > > drivers/net/spider_net.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) applied to #upstream-fixes