aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-cmp.c
diff options
context:
space:
mode:
authorRyan Hsu <[email protected]>2017-08-22 14:44:02 -0700
committerKalle Valo <[email protected]>2017-08-31 15:13:18 +0300
commitc9353bf483d3724c116a9d502c0ead9cec54a61a (patch)
treec4dcf41037284c5624fc9cc2950fc3c6056d7a1f /lib/mpi/mpi-cmp.c
parent76b07b30c46bcc6a03ff12d45e525794b8e8c14a (diff)
ath10k: fix napi_poll budget overflow
In napi_poll, the budget number is used to control the amount of packets we should handle per poll to balance the resource in the system. In the list of the amsdu packets reception, we check if there is budget count left and handle the complete list of the packets, that it will have chances the very last list will over the budget leftover. So adding one more parameter - budget_left, this would help while traversing the list to avoid handling more than the budget given. Reported-by: Andrey Ryabinin <[email protected]> Fix-suggested-by: Igor Mitsyanko <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Ryan Hsu <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions