commit | bb29dd84333a96f309c6d0f88b285b5b78927058 | [log] [tgz] |
---|---|---|
author | Anna Schumaker <Anna.Schumaker@Netapp.com> | Wed Oct 26 10:33:31 2016 -0400 |
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | Mon Nov 07 14:35:59 2016 -0500 |
tree | f906f39e20f6a487c65ffb935e870866da4fd99a | |
parent | 68a564006a21ae59c7c51b4359e2e8efa42ae4af [diff] |
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 <Anna.Schumaker@Netapp.com>