summaryrefslogtreecommitdiffstats
path: root/kernel/user.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2014-12-22 20:35:25 +1100
committerDavid S. Miller <davem@davemloft.net>2014-12-22 16:34:39 -0500
commit3079c652141f9d6377417a7e8fd650c9948df65e (patch)
treecc7f3f21c07534f6268535ff41b60df6dfbb1aeb /kernel/user.c
parent492f5add4be84652bbe13da8a250d60c6856a5c5 (diff)
downloadop-kernel-dev-3079c652141f9d6377417a7e8fd650c9948df65e.zip
op-kernel-dev-3079c652141f9d6377417a7e8fd650c9948df65e.tar.gz
caif: Fix napi poll list corruption
The commit d75b1ade567ffab085e8adbbdacf0092d10cd09c (net: less interrupt masking in NAPI) breaks caif. It is now required that if the entire budget is consumed when poll returns, the napi poll_list must remain empty. However, like some other drivers caif tries to do a last-ditch check and if there is more work it will call napi_schedule and then immediately process some of this new work. Should the entire budget be consumed while processing such new work then we will violate the new caller contract. This patch fixes this by not touching any work when we reschedule in caif. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/user.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud