summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_null.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2022-11-17 10:26:41 +0100
committerDavid S. Miller <davem@davemloft.net>2022-11-18 13:04:39 +0100
commitfd896e38e5df2c5b68c78eee2fc425c4dcd3b4dd (patch)
tree2c644499ca3efaf491aa6c02141f8d9a7e9f29f8 /net/sunrpc/auth_null.c
parentrxrpc: uninitialized variable in rxrpc_send_ack_packet() (diff)
downloadlinux-fd896e38e5df2c5b68c78eee2fc425c4dcd3b4dd.tar.xz
linux-fd896e38e5df2c5b68c78eee2fc425c4dcd3b4dd.zip
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 <lkp@intel.com> Reported-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sunrpc/auth_null.c')
0 files changed, 0 insertions, 0 deletions