summaryrefslogtreecommitdiffstats
path: root/Documentation/nvdimm
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@googlemail.com>2017-09-19 19:35:18 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-19 16:20:25 -0700
commitf55956065ec94e3e9371463d693a1029c4cc3007 (patch)
tree9c143c72bc673cfa0faca039e55072b5580c97b8 /Documentation/nvdimm
parentb5b7db8d680464b1d631fd016f5e093419f0bfd9 (diff)
downloadblackbird-op-linux-f55956065ec94e3e9371463d693a1029c4cc3007.tar.gz
blackbird-op-linux-f55956065ec94e3e9371463d693a1029c4cc3007.zip
net: emac: Fix napi poll list corruption
This patch is pretty much a carbon copy of commit 3079c652141f ("caif: Fix napi poll list corruption") with "caif" replaced by "emac". The commit d75b1ade567f ("net: less interrupt masking in NAPI") breaks emac. 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 emac tries to do a last-ditch check and if there is more work it will call napi_reschedule 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 emac. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/nvdimm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud