From: Eric W. Biederman Date: Sat, 15 Mar 2014 03:45:51 +0000 (-0700) Subject: netpoll: Visit all napi handlers in poll_napi X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eb8143b469e5e11e05487648d27e176e907fec1f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git netpoll: Visit all napi handlers in poll_napi In poll_napi loop through all of the napi handlers even when the budget falls to 0 to ensure that we process all of the tx_queues, and so that we continue to call into drivers when our initial budget is 0. Signed-off-by: "Eric W. Biederman" Signed-off-by: David S. Miller --- diff --git a/net/core/netpoll.c b/net/core/netpoll.c index 147c75855c9b..d9e3d74ec9ac 100644 --- a/net/core/netpoll.c +++ b/net/core/netpoll.c @@ -174,9 +174,6 @@ static void poll_napi(struct net_device *dev, int budget) spin_trylock(&napi->poll_lock)) { budget = poll_one_napi(napi, budget); spin_unlock(&napi->poll_lock); - - if (!budget) - break; } } }