X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=net%2Frxrpc%2Far-connection.c;h=7bf5b5b9e8b9400af1cbaecaeaf9a8c222670492;hb=17c7f85460d6b0e2bd11a736683bd81c4388474f;hp=4106ca95ec86f43b8c235dd5d94e9fc016ea06f5;hpb=5306293c9cd2caf41849cc909281bda628bb989e;p=cascardo%2Flinux.git diff --git a/net/rxrpc/ar-connection.c b/net/rxrpc/ar-connection.c index 4106ca95ec86..7bf5b5b9e8b9 100644 --- a/net/rxrpc/ar-connection.c +++ b/net/rxrpc/ar-connection.c @@ -381,6 +381,8 @@ static int rxrpc_connect_exclusive(struct rxrpc_sock *rx, rxrpc_assign_connection_id(conn); rx->conn = conn; + } else { + spin_lock(&trans->client_lock); } /* we've got a connection with a free channel and we can now attach the