diff options
Diffstat (limited to 'net/rxrpc/ar-call.c')
-rw-r--r-- | net/rxrpc/ar-call.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/net/rxrpc/ar-call.c b/net/rxrpc/ar-call.c index 7c8d300ade9b..571a41fd5a32 100644 --- a/net/rxrpc/ar-call.c +++ b/net/rxrpc/ar-call.c | |||
@@ -411,18 +411,17 @@ found_extant_second: | |||
411 | */ | 411 | */ |
412 | struct rxrpc_call *rxrpc_incoming_call(struct rxrpc_sock *rx, | 412 | struct rxrpc_call *rxrpc_incoming_call(struct rxrpc_sock *rx, |
413 | struct rxrpc_connection *conn, | 413 | struct rxrpc_connection *conn, |
414 | struct rxrpc_host_header *hdr, | 414 | struct rxrpc_host_header *hdr) |
415 | gfp_t gfp) | ||
416 | { | 415 | { |
417 | struct rxrpc_call *call, *candidate; | 416 | struct rxrpc_call *call, *candidate; |
418 | struct rb_node **p, *parent; | 417 | struct rb_node **p, *parent; |
419 | u32 call_id; | 418 | u32 call_id; |
420 | 419 | ||
421 | _enter(",%d,,%x", conn->debug_id, gfp); | 420 | _enter(",%d", conn->debug_id); |
422 | 421 | ||
423 | ASSERT(rx != NULL); | 422 | ASSERT(rx != NULL); |
424 | 423 | ||
425 | candidate = rxrpc_alloc_call(gfp); | 424 | candidate = rxrpc_alloc_call(GFP_NOIO); |
426 | if (!candidate) | 425 | if (!candidate) |
427 | return ERR_PTR(-EBUSY); | 426 | return ERR_PTR(-EBUSY); |
428 | 427 | ||
@@ -682,7 +681,7 @@ void rxrpc_release_call(struct rxrpc_call *call) | |||
682 | call->state != RXRPC_CALL_CLIENT_FINAL_ACK) { | 681 | call->state != RXRPC_CALL_CLIENT_FINAL_ACK) { |
683 | _debug("+++ ABORTING STATE %d +++\n", call->state); | 682 | _debug("+++ ABORTING STATE %d +++\n", call->state); |
684 | call->state = RXRPC_CALL_LOCALLY_ABORTED; | 683 | call->state = RXRPC_CALL_LOCALLY_ABORTED; |
685 | call->abort_code = RX_CALL_DEAD; | 684 | call->local_abort = RX_CALL_DEAD; |
686 | set_bit(RXRPC_CALL_EV_ABORT, &call->events); | 685 | set_bit(RXRPC_CALL_EV_ABORT, &call->events); |
687 | rxrpc_queue_call(call); | 686 | rxrpc_queue_call(call); |
688 | } | 687 | } |
@@ -758,7 +757,7 @@ static void rxrpc_mark_call_released(struct rxrpc_call *call) | |||
758 | if (call->state < RXRPC_CALL_COMPLETE) { | 757 | if (call->state < RXRPC_CALL_COMPLETE) { |
759 | _debug("abort call %p", call); | 758 | _debug("abort call %p", call); |
760 | call->state = RXRPC_CALL_LOCALLY_ABORTED; | 759 | call->state = RXRPC_CALL_LOCALLY_ABORTED; |
761 | call->abort_code = RX_CALL_DEAD; | 760 | call->local_abort = RX_CALL_DEAD; |
762 | if (!test_and_set_bit(RXRPC_CALL_EV_ABORT, &call->events)) | 761 | if (!test_and_set_bit(RXRPC_CALL_EV_ABORT, &call->events)) |
763 | sched = true; | 762 | sched = true; |
764 | } | 763 | } |