rxrpc: Fix an error goto in rxrpc_connect_call()
authorDavid Howells <dhowells@redhat.com>
Mon, 14 Sep 2020 11:57:13 +0000 (12:57 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 14 Sep 2020 11:58:17 +0000 (12:58 +0100)
commit456b2f2dc7e585e1a031214c5698f1b00e02448b
treee50b14f4f138e20665000a3cf2d02db40b21d48a
parente059c6f340f6fccadd3db9993f06d4cc51305804
rxrpc: Fix an error goto in rxrpc_connect_call()

Fix an error-handling goto in rxrpc_connect_call() whereby it will jump to
free the bundle it failed to allocate.

Fixes: 245500d853e9 ("rxrpc: Rewrite the client connection manager")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/conn_client.c