commit | f45a7bccdc190e2cf6ca3a527edbc4c80d7114ef | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Fri May 15 14:52:03 2020 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sat May 16 15:14:54 2020 -0700 |
tree | 53116d902f1e883ad107eeac4f0366e9449922b1 | |
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 <sharathv@codeaurora.com> Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>