diff options
| author | David Howells <[email protected]> | 2016-08-08 13:06:41 +0100 |
|---|---|---|
| committer | David Howells <[email protected]> | 2016-08-09 17:12:23 +0100 |
| commit | 17b963e319449f709e78dc1ef445d797a13eecbc (patch) | |
| tree | 6aed9ab4d827efa35256777f3cc4f21db4c4df44 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 55cae7a403f3b52de3dd6e4a614582541c9631af (diff) | |
rxrpc: Need to flag call as being released on connect failure
If rxrpc_new_client_call() fails to make a connection, the call record that
it allocated needs to be marked as RXRPC_CALL_RELEASED before it is passed
to rxrpc_put_call() to indicate that it no longer has any attachment to the
AF_RXRPC socket.
Without this, an assertion failure may occur at:
net/rxrpc/call_object:635
Signed-off-by: David Howells <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions