Skip to content
Commit bb29dd84 authored by Anna Schumaker's avatar Anna Schumaker
Browse files

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: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 68a56400
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment