From: Michael Guntsche Subject: Re: [BUG] 2.6.33-rc1 gianfar error message Date: Tue, 22 Dec 2009 19:10:00 +0100 Message-ID: <20091222181000.GA71727@trillian.comsick.at> References: <20091220214447.GA10233@trillian.comsick.at> <9F4C7D19E8361D4C94921B95BE08B81BA08F3B@zin33exm22.fsl.freescale.net> <20091221072704.GA12110@gibson.comsick.at> <9F4C7D19E8361D4C94921B95BE08B81BA08F83@zin33exm22.fsl.freescale.net> <20091221163843.GB3529@gibson.comsick.at> <9F4C7D19E8361D4C94921B95BE08B81BA08FCA@zin33exm22.fsl.freescale.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev To: Kumar Gopalpet-B05799 Return-path: Received: from lvps87-230-0-242.dedicated.hosteurope.de ([87.230.0.242]:57360 "EHLO lvps87-230-0-242.dedicated.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751348AbZLVSKJ (ORCPT ); Tue, 22 Dec 2009 13:10:09 -0500 Content-Disposition: inline In-Reply-To: <9F4C7D19E8361D4C94921B95BE08B81BA08FCA@zin33exm22.fsl.freescale.net> Sender: netdev-owner@vger.kernel.org List-ID: On 2009.12.22 10:32:49 , Kumar Gopalpet-B05799 wrote: > >Just for my understanding. Is the first diff part of the fix as well? > >With this change the FCB is only removed if there are padded bytes, why > >would this make a difference here? > > > > Yes, the first diff portion is not required. > > Also, if you confirm that the changes are working fine. > I will generate a clean patch and send it out. > Thanks for reporting it and testing it out. Hi, Since you said that the first patch is not needed @@ -2470,10 +2470,11 @@ static int gfar_process_frame(struct net_device fcb = (struct rxfcb *)skb->data; /* Remove the FCB from the skb */ - skb_set_queue_mapping(skb, fcb->rq); /* Remove the padded bytes, if there are any */ - if (amount_pull) + if (amount_pull) { + skb_set_queue_mapping(skb, fcb->rq); skb_pull(skb, amount_pull); + } if (priv->rx_csum_enable) gfar_rx_checksum(skb, fcb); I only applied the second one and tested again. Right after the reboot I got an error so apparently this change IS required as well. Kind regards, Michael