diff options
author | Oliver Stäbler <oliver.staebler@bytesatwork.ch> | 2017-11-20 16:45:15 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2017-12-01 13:20:52 +0300 |
commit | f6c23b174c3c96616514827407769cbcfc8005cf (patch) | |
tree | 3e057f9a641e9aab867505bb1af06552efb7ce5d /drivers/net/can/sja1000/peak_pci.c | |
parent | 8bd13bd522ff7dfa0eb371921aeb417155f7a3be (diff) | |
download | linux-f6c23b174c3c96616514827407769cbcfc8005cf.tar.xz |
can: ti_hecc: Fix napi poll return value for repoll
After commit d75b1ade567f ("net: less interrupt masking in NAPI") napi
repoll is done only when work_done == budget.
So we need to return budget if there are still packets to receive.
Signed-off-by: Oliver Stäbler <oliver.staebler@bytesatwork.ch>
Cc: linux-stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/sja1000/peak_pci.c')
0 files changed, 0 insertions, 0 deletions