[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101208.094552.179947046.davem@davemloft.net>
Date: Wed, 08 Dec 2010 09:45:52 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: hadi@...erus.ca
Cc: xiaosuo@...il.com, jarkao2@...il.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-2.6] ifb: goto resched directly if error happens
and dp->tq isn't empty
From: jamal <hadi@...erus.ca>
Date: Sun, 05 Dec 2010 09:25:44 -0500
> On Sun, 2010-12-05 at 08:09 +0800, Changli Gao wrote:
>> If we break the loop when there are still skbs in tq and no skb in
>> rq, the skbs will be left in txq until new skbs are enqueued into rq.
>> In rare cases, no new skb is queued, then these skbs will stay in rq
>> forever.
>>
>> After this patch, if tq isn't empty when we break the loop, we goto
>> resched directly.
>>
>> Signed-off-by: Changli Gao <xiaosuo@...il.com>
>
> Signed-off-by: Jamal Hadi Salim <hadi@...erus.ca>
>
> Dave, this goes to stable as well.
Applied and queued up for -stable, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists