diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-02-24 16:18:42 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-02-25 18:46:39 +0100 |
commit | 4d9274cee40b6a20dd6148c6c81c6733c2678cbc (patch) | |
tree | 7456e1fa8a1dd794cc9197bd825e53c10c223559 /net/psample | |
parent | net: broadcom: bcm4908_enet: fix RX path possible mem leak (diff) | |
download | linux-4d9274cee40b6a20dd6148c6c81c6733c2678cbc.tar.xz linux-4d9274cee40b6a20dd6148c6c81c6733c2678cbc.zip |
net: broadcom: bcm4908_enet: fix NAPI poll returned value
Missing increment was resulting in poll function always returning 0
instead of amount of processed packets.
Fixes: 4feffeadbcb2 ("net: broadcom: bcm4908enet: add BCM4908 controller driver")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210224151842.2419-2-zajec5@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/psample')
0 files changed, 0 insertions, 0 deletions