aboutsummaryrefslogtreecommitdiff
path: root/net/core/dst.c
diff options
context:
space:
mode:
authorChangli Gao <xiaosuo@gmail.com>2010-12-04 14:09:08 +0000
committerAK <andi@firstfloor.org>2011-02-06 11:03:38 -0800
commit9cd02000aea2084bbd44091f10877a3d921291d0 (patch)
treeba56d0096a13f65c0ca3ad18b3cc01d0abfe148f /net/core/dst.c
parentf59cbe486092c277cb7c00f048ed6701ebf6cdfa (diff)
ifb: goto resched directly if error happens and dp->tq isn't empty
[ Upstream commit 75c1c82566f23dd539fb7ccbf57a1caa7ba82628 ] 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> Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'net/core/dst.c')
0 files changed, 0 insertions, 0 deletions