aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorAnna Schumaker <[email protected]>2016-10-26 14:33:31 +0000
committerAnna Schumaker <[email protected]>2016-11-07 19:35:59 +0000
commitbb29dd84333a96f309c6d0f88b285b5b78927058 (patch)
treef906f39e20f6a487c65ffb935e870866da4fd99a /lib/cpu-notifier-error-inject.c
parentNFSv4.1: work around -Wmaybe-uninitialized warning (diff)
downloadkernel-bb29dd84333a96f309c6d0f88b285b5b78927058.tar.gz
kernel-bb29dd84333a96f309c6d0f88b285b5b78927058.zip
SUNRPC: Fix suspicious RCU usage
We need to hold the rcu_read_lock() when calling rcu_dereference(), otherwise we can't guarantee that the object being dereferenced still exists. Fixes: 39e5d2df ("SUNRPC search xprt switch for sockaddr") Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions