diff options
author | Eric Dumazet <edumazet@google.com> | 2015-01-11 11:02:32 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-11 21:44:55 -0500 |
commit | 12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb (patch) | |
tree | 0ce2affa569497afe305f1ddf3eb90c255858aee /samples | |
parent | 0c8185944a125621a1766615585238a3563ccac3 (diff) | |
download | op-kernel-dev-12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb.zip op-kernel-dev-12d80ac4e77265a89b87c3b80e2c9a7b29f7fdfb.tar.gz |
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions