diff options
author | Alex Elder <[email protected]> | 2020-05-15 14:52:03 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-05-16 15:14:54 -0700 |
commit | f45a7bccdc190e2cf6ca3a527edbc4c80d7114ef (patch) | |
tree | 53116d902f1e883ad107eeac4f0366e9449922b1 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 5e5502e012b8129e11be616acb0f9c34bc8f8adb (diff) |
net: ipa: don't be a hog in gsi_channel_poll()
The iteration count value used in gsi_channel_poll() is intended to
limit poll iterations to the budget supplied as an argument. But
it's never updated.
Fix this bug by incrementing the count each time through the loop.
Reported-by: Sharath Chandra Vurukala <[email protected]>
Signed-off-by: Alex Elder <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions