diff options
author | Eric Dumazet <[email protected]> | 2022-11-17 09:26:41 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-11-18 12:04:39 +0000 |
commit | fd896e38e5df2c5b68c78eee2fc425c4dcd3b4dd (patch) | |
tree | 2c644499ca3efaf491aa6c02141f8d9a7e9f29f8 /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 38461894838bbbebab54cbd5a5459cc8d1b6dd9b (diff) |
net: fix napi_disable() logic error
Dan reported a new warning after my recent patch:
New smatch warnings:
net/core/dev.c:6409 napi_disable() error: uninitialized symbol 'new'.
Indeed, we must first wait for STATE_SCHED and STATE_NPSVC to be cleared,
to make sure @new variable has been initialized properly.
Fixes: 4ffa1d1c6842 ("net: adopt try_cmpxchg() in napi_{enable|disable}()")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions