commit | 12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Sun Jan 11 11:02:32 2015 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Jan 11 21:44:55 2015 -0500 |
tree | 0ce2affa569497afe305f1ddf3eb90c255858aee | |
parent | 0c8185944a125621a1766615585238a3563ccac3 [diff] |
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 <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>