diff options
| author | Jakub Kicinski <[email protected]> | 2025-06-11 17:46:43 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-06-12 15:11:52 +0000 |
| commit | 1264971017b4d7141352a7fe29021bdfce5d885d (patch) | |
| tree | 982623c1fc9c27731f81ce453a43bdce623b3eee /net/unix/af_unix.c | |
| parent | net/mlx5: HWS, Add error checking to hws_bwc_rule_complex_hash_node_get() (diff) | |
| download | kernel-1264971017b4d7141352a7fe29021bdfce5d885d.tar.gz kernel-1264971017b4d7141352a7fe29021bdfce5d885d.zip | |
net: drv: netdevsim: don't napi_complete() from netpoll
netdevsim supports netpoll. Make sure we don't call napi_complete()
from it, since it may not be scheduled. Breno reports hitting a
warning in napi_complete_done():
WARNING: CPU: 14 PID: 104 at net/core/dev.c:6592 napi_complete_done+0x2cc/0x560
__napi_poll+0x2d8/0x3a0
handle_softirqs+0x1fe/0x710
This is presumably after netpoll stole the SCHED bit prematurely.
Reported-by: Breno Leitao <[email protected]>
Fixes: 3762ec05a9fb ("netdevsim: add NAPI support")
Tested-by: Breno Leitao <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
