diff options
| -rw-r--r-- | net/rxrpc/call_event.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rxrpc/call_event.c b/net/rxrpc/call_event.c index 638d66df284a..fc32aa5764a2 100644 --- a/net/rxrpc/call_event.c +++ b/net/rxrpc/call_event.c | |||
| @@ -1089,7 +1089,7 @@ void rxrpc_process_call(struct work_struct *work) | |||
| 1089 | 1089 | ||
| 1090 | if (call->state == RXRPC_CALL_SERVER_SECURING) { | 1090 | if (call->state == RXRPC_CALL_SERVER_SECURING) { |
| 1091 | _debug("securing"); | 1091 | _debug("securing"); |
| 1092 | write_lock(&call->conn->lock); | 1092 | write_lock(&call->socket->call_lock); |
| 1093 | if (!test_bit(RXRPC_CALL_RELEASED, &call->flags) && | 1093 | if (!test_bit(RXRPC_CALL_RELEASED, &call->flags) && |
| 1094 | !test_bit(RXRPC_CALL_EV_RELEASE, &call->events)) { | 1094 | !test_bit(RXRPC_CALL_EV_RELEASE, &call->events)) { |
| 1095 | _debug("not released"); | 1095 | _debug("not released"); |
| @@ -1097,7 +1097,7 @@ void rxrpc_process_call(struct work_struct *work) | |||
| 1097 | list_move_tail(&call->accept_link, | 1097 | list_move_tail(&call->accept_link, |
| 1098 | &call->socket->acceptq); | 1098 | &call->socket->acceptq); |
| 1099 | } | 1099 | } |
| 1100 | write_unlock(&call->conn->lock); | 1100 | write_unlock(&call->socket->call_lock); |
| 1101 | read_lock(&call->state_lock); | 1101 | read_lock(&call->state_lock); |
| 1102 | if (call->state < RXRPC_CALL_COMPLETE) | 1102 | if (call->state < RXRPC_CALL_COMPLETE) |
| 1103 | set_bit(RXRPC_CALL_EV_POST_ACCEPT, &call->events); | 1103 | set_bit(RXRPC_CALL_EV_POST_ACCEPT, &call->events); |
