From mboxrd@z Thu Jan 1 00:00:00 1970 From: jamal Subject: Re: [PATCH 3/3] ifb: move tq from ifb_private Date: Sat, 04 Dec 2010 09:28:09 -0500 Message-ID: <1291472889.2159.18.camel@mojatatu> References: <1291442121-3302-1-git-send-email-xiaosuo@gmail.com> <1291442121-3302-3-git-send-email-xiaosuo@gmail.com> <4CFA3F01.20109@gmail.com> Reply-To: hadi@cyberus.ca Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Changli Gao , netdev@vger.kernel.org To: Jarek Poplawski Return-path: Received: from mail-gx0-f180.google.com ([209.85.161.180]:63481 "EHLO mail-gx0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755156Ab0LDO2O (ORCPT ); Sat, 4 Dec 2010 09:28:14 -0500 Received: by gxk19 with SMTP id 19so5656605gxk.11 for ; Sat, 04 Dec 2010 06:28:13 -0800 (PST) In-Reply-To: <4CFA3F01.20109@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: On Sat, 2010-12-04 at 14:15 +0100, Jarek Poplawski wrote: > > @@ -87,7 +83,7 @@ static void ri_tasklet(unsigned long dev) > > rcu_read_unlock(); > > dev_kfree_skb(skb); > > stats->tx_dropped++; > > - break; > > + continue; > > IMHO this line is a bugfix and should be a separate patch (for stable). Should be separate, yes. Bug? no. Improvement, maybe ;-> The idea was to defer processing at the first error. Changli is changing it to continue despite the error. The initial goal was to yield whenever possible since we dont maintain a lot of state. cheers, jamal