summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/conn_object.c
diff options
context:
space:
mode:
authorDavid Howells2016-04-04 15:00:39 +0200
committerDavid Howells2016-07-06 11:43:51 +0200
commitd1e858c5a392a50c16ce36624203032bdeb3595b (patch)
treeda1a7b0e797d236d28d881c75519fbbf7dfcfd3d /net/rxrpc/conn_object.c
parentrxrpc: Move usage count getting into rxrpc_queue_conn() (diff)
downloadkernel-qcow2-linux-d1e858c5a392a50c16ce36624203032bdeb3595b.tar.gz
kernel-qcow2-linux-d1e858c5a392a50c16ce36624203032bdeb3595b.tar.xz
kernel-qcow2-linux-d1e858c5a392a50c16ce36624203032bdeb3595b.zip
rxrpc: Fix handling of connection failure in client call creation
If rxrpc_connect_call() fails during the creation of a client connection, there are two bugs that we can hit that need fixing: (1) The call state should be moved to RXRPC_CALL_DEAD before the call cleanup phase is invoked. If not, this can cause an assertion failure later. (2) call->link should be reinitialised after being deleted in rxrpc_new_client_call() - which otherwise leads to a failure later when the call cleanup attempts to delete the link again. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'net/rxrpc/conn_object.c')
0 files changed, 0 insertions, 0 deletions