Skip to content
Commit f45a7bcc authored by Alex Elder's avatar Alex Elder Committed by David S. Miller
Browse files

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: default avatarSharath Chandra Vurukala <sharathv@codeaurora.com>
Signed-off-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5e5502e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment