From: Eric Dumazet Date: Sun, 11 Jan 2015 19:02:32 +0000 (-0800) Subject: net: dnet: fix dnet_poll() X-Git-Tag: fixes-v4.0-rc1~296^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb;p=pandora-kernel.git net: dnet: fix dnet_poll() A NAPI poll() handler is supposed to return exactly the budget when/if napi_complete() has not been called. It is also supposed to return number of frames that were received, so that netdev_budget can have a meaning. Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed