diff options
author | David Howells <dhowells@redhat.com> | 2016-09-08 12:10:11 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-09-08 12:10:11 +0200 |
commit | de8d6c7401ae8f25db3788804c86887ad7347bee (patch) | |
tree | 350b339d5c533cddb0610a77dec521bb422c2bd4 /net/rxrpc/security.c | |
parent | rxrpc: Update protocol definitions slightly (diff) | |
download | linux-de8d6c7401ae8f25db3788804c86887ad7347bee.tar.xz linux-de8d6c7401ae8f25db3788804c86887ad7347bee.zip |
rxrpc: Convert rxrpc_local::services to an hlist
Convert the rxrpc_local::services list to an hlist so that it can be
accessed under RCU conditions more readily.
Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/security.c')
-rw-r--r-- | net/rxrpc/security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/security.c b/net/rxrpc/security.c index 814d285ff802..5d79d5a9c944 100644 --- a/net/rxrpc/security.c +++ b/net/rxrpc/security.c @@ -131,7 +131,7 @@ int rxrpc_init_server_conn_security(struct rxrpc_connection *conn) /* find the service */ read_lock_bh(&local->services_lock); - list_for_each_entry(rx, &local->services, listen_link) { + hlist_for_each_entry(rx, &local->services, listen_link) { if (rx->srx.srx_service == conn->params.service_id) goto found_service; } |