Files
linux/drivers
Changli Gao b0460db42b ifb: goto resched directly if error happens and dp->tq isn't empty
[ Upstream commit 75c1c82566 ]

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@gmail.com>
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-01-07 13:58:28 -08:00
..
2010-09-28 23:30:38 -04:00
2010-10-13 15:43:10 -07:00
2011-01-07 13:58:17 -08:00
2010-08-24 15:28:28 +10:00
2010-12-09 13:33:33 -08:00
2010-12-09 13:33:13 -08:00
2010-09-22 16:21:33 +02:00