Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment