From: Eric Dumazet Date: Thu, 22 Jan 2015 15:56:18 +0000 (-0800) Subject: netxen: fix netxen_nic_poll() logic X-Git-Tag: fixes-v4.0-rc1~235^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6088beef3f7517717bd21d90b379714dd0837079;p=pandora-kernel.git netxen: fix netxen_nic_poll() logic 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 --- Reading git-diff-tree failed