diff options
Diffstat (limited to 'net/rxrpc/security.c')
-rw-r--r-- | net/rxrpc/security.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/security.c b/net/rxrpc/security.c index 7d921e56e715..b9f5dbbe0b8b 100644 --- a/net/rxrpc/security.c +++ b/net/rxrpc/security.c | |||
@@ -121,7 +121,7 @@ int rxrpc_init_server_conn_security(struct rxrpc_connection *conn) | |||
121 | 121 | ||
122 | _enter(""); | 122 | _enter(""); |
123 | 123 | ||
124 | sprintf(kdesc, "%u:%u", conn->params.service_id, conn->security_ix); | 124 | sprintf(kdesc, "%u:%u", conn->service_id, conn->security_ix); |
125 | 125 | ||
126 | sec = rxrpc_security_lookup(conn->security_ix); | 126 | sec = rxrpc_security_lookup(conn->security_ix); |
127 | if (!sec) { | 127 | if (!sec) { |
@@ -133,7 +133,7 @@ int rxrpc_init_server_conn_security(struct rxrpc_connection *conn) | |||
133 | read_lock(&local->services_lock); | 133 | read_lock(&local->services_lock); |
134 | rx = rcu_dereference_protected(local->service, | 134 | rx = rcu_dereference_protected(local->service, |
135 | lockdep_is_held(&local->services_lock)); | 135 | lockdep_is_held(&local->services_lock)); |
136 | if (rx && rx->srx.srx_service == conn->params.service_id) | 136 | if (rx && rx->srx.srx_service == conn->service_id) |
137 | goto found_service; | 137 | goto found_service; |
138 | 138 | ||
139 | /* the service appears to have died */ | 139 | /* the service appears to have died */ |