aboutsummaryrefslogtreecommitdiffstats
path: root/net/rxrpc/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rxrpc/connection.c')
-rw-r--r--net/rxrpc/connection.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/rxrpc/connection.c b/net/rxrpc/connection.c
index 93d2c55ad2d5..a7c929a9fdca 100644
--- a/net/rxrpc/connection.c
+++ b/net/rxrpc/connection.c
@@ -163,7 +163,7 @@ int rxrpc_create_connection(struct rxrpc_transport *trans,
163 conn = list_entry(_p, struct rxrpc_connection, link); 163 conn = list_entry(_p, struct rxrpc_connection, link);
164 if (conn->addr.sin_port == candidate->addr.sin_port && 164 if (conn->addr.sin_port == candidate->addr.sin_port &&
165 conn->security_ix == candidate->security_ix && 165 conn->security_ix == candidate->security_ix &&
166 conn->service_id == candidate->service_id && 166 conn->service_id == candidate->service_id &&
167 conn->in_clientflag == 0) 167 conn->in_clientflag == 0)
168 goto found_in_graveyard; 168 goto found_in_graveyard;
169 } 169 }
@@ -247,13 +247,13 @@ int rxrpc_connection_lookup(struct rxrpc_peer *peer,
247 conn->in_epoch == x_epoch && 247 conn->in_epoch == x_epoch &&
248 conn->conn_id == x_connid && 248 conn->conn_id == x_connid &&
249 conn->security_ix == x_secix && 249 conn->security_ix == x_secix &&
250 conn->service_id == x_servid && 250 conn->service_id == x_servid &&
251 conn->in_clientflag == x_clflag) 251 conn->in_clientflag == x_clflag)
252 goto found_active; 252 goto found_active;
253 } 253 }
254 read_unlock(&peer->conn_lock); 254 read_unlock(&peer->conn_lock);
255 255
256 /* [uncommon case] not active 256 /* [uncommon case] not active
257 * - create a candidate for a new record if an inbound connection 257 * - create a candidate for a new record if an inbound connection
258 * - only examine the graveyard for an outbound connection 258 * - only examine the graveyard for an outbound connection
259 */ 259 */
@@ -286,7 +286,7 @@ int rxrpc_connection_lookup(struct rxrpc_peer *peer,
286 conn->in_epoch == x_epoch && 286 conn->in_epoch == x_epoch &&
287 conn->conn_id == x_connid && 287 conn->conn_id == x_connid &&
288 conn->security_ix == x_secix && 288 conn->security_ix == x_secix &&
289 conn->service_id == x_servid && 289 conn->service_id == x_servid &&
290 conn->in_clientflag == x_clflag) 290 conn->in_clientflag == x_clflag)
291 goto found_active_second_chance; 291 goto found_active_second_chance;
292 } 292 }
@@ -299,7 +299,7 @@ int rxrpc_connection_lookup(struct rxrpc_peer *peer,
299 conn->in_epoch == x_epoch && 299 conn->in_epoch == x_epoch &&
300 conn->conn_id == x_connid && 300 conn->conn_id == x_connid &&
301 conn->security_ix == x_secix && 301 conn->security_ix == x_secix &&
302 conn->service_id == x_servid && 302 conn->service_id == x_servid &&
303 conn->in_clientflag == x_clflag) 303 conn->in_clientflag == x_clflag)
304 goto found_in_graveyard; 304 goto found_in_graveyard;
305 } 305 }