diff options
| author | Linus Walleij <linusw@kernel.org> | 2026-09-03 23:45:30 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-09-08 12:35:21 +0200 |
| commit | baa26841cb9a2cdc7e0e99d6854a4e3359bf7393 (patch) | |
| tree | 177e58e324d44812e298fa5d59a74f2f8192e107 /scripts/basic | |
| parent | a0de06d0da78a3db53de65dfd7452cc6d111f703 (diff) | |
| download | linux-baa26841cb9a2cdc7e0e99d6854a4e3359bf7393.tar.gz linux-baa26841cb9a2cdc7e0e99d6854a4e3359bf7393.zip | |
net: ethernet: cortina: Finish RX updates before NAPI completion
napi_complete_done() releases ownership of the NAPI instance, but the
Gemini poll keeps the RX statistics writer section open and updates the
free queue after calling it. A new poll can therefore start while the old
writer is still active.
Finish the statistics and free queue updates before releasing ownership.
Only re-enable RX interrupts when napi_complete_done() reports successful
completion.
Fixes: 4d5ae32f5e1e ("net: ethernet: Add a driver for Gemini gigabit ethernet")
Suggested-by: Joe Damato <joe@dama.to>
Assisted-by: LLM
Signed-off-by: Linus Walleij <linusw@kernel.org>
Link: https://patch.msgid.link/20260903-gemini-ethernet-fixes-v2-2-2bbbd598ca6e@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
