From: Eric Dumazet Date: Thu, 22 Jan 2015 15:56:18 +0000 (-0800) Subject: netxen: fix netxen_nic_poll() logic X-Git-Tag: v3.2.69~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9568b84ff6fd86075ec67cb9368e8fde1f249ce;p=pandora-kernel.git netxen: fix netxen_nic_poll() logic [ Upstream commit 6088beef3f7517717bd21d90b379714dd0837079 ] NAPI poll logic now enforces that a poller returns exactly the budget when it wants to be called again. If a driver limits TX completion, it has to return budget as well when the limit is hit, not the number of received packets. Reported-and-tested-by: Mike Galbraith Signed-off-by: Eric Dumazet Fixes: d75b1ade567f ("net: less interrupt masking in NAPI") Cc: Manish Chopra Acked-by: Manish Chopra Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed