diff options
Diffstat (limited to 'net/rxrpc/ar-ack.c')
-rw-r--r-- | net/rxrpc/ar-ack.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/net/rxrpc/ar-ack.c b/net/rxrpc/ar-ack.c index 8f7764eca96c..fc07a926df56 100644 --- a/net/rxrpc/ar-ack.c +++ b/net/rxrpc/ar-ack.c | |||
@@ -113,7 +113,7 @@ cancel_timer: | |||
113 | read_lock_bh(&call->state_lock); | 113 | read_lock_bh(&call->state_lock); |
114 | if (call->state <= RXRPC_CALL_COMPLETE && | 114 | if (call->state <= RXRPC_CALL_COMPLETE && |
115 | !test_and_set_bit(RXRPC_CALL_ACK, &call->events)) | 115 | !test_and_set_bit(RXRPC_CALL_ACK, &call->events)) |
116 | schedule_work(&call->processor); | 116 | rxrpc_queue_call(call); |
117 | read_unlock_bh(&call->state_lock); | 117 | read_unlock_bh(&call->state_lock); |
118 | } | 118 | } |
119 | 119 | ||
@@ -1166,7 +1166,7 @@ send_message_2: | |||
1166 | _debug("sendmsg failed: %d", ret); | 1166 | _debug("sendmsg failed: %d", ret); |
1167 | read_lock_bh(&call->state_lock); | 1167 | read_lock_bh(&call->state_lock); |
1168 | if (call->state < RXRPC_CALL_DEAD) | 1168 | if (call->state < RXRPC_CALL_DEAD) |
1169 | schedule_work(&call->processor); | 1169 | rxrpc_queue_call(call); |
1170 | read_unlock_bh(&call->state_lock); | 1170 | read_unlock_bh(&call->state_lock); |
1171 | goto error; | 1171 | goto error; |
1172 | } | 1172 | } |
@@ -1210,7 +1210,7 @@ maybe_reschedule: | |||
1210 | if (call->events || !skb_queue_empty(&call->rx_queue)) { | 1210 | if (call->events || !skb_queue_empty(&call->rx_queue)) { |
1211 | read_lock_bh(&call->state_lock); | 1211 | read_lock_bh(&call->state_lock); |
1212 | if (call->state < RXRPC_CALL_DEAD) | 1212 | if (call->state < RXRPC_CALL_DEAD) |
1213 | schedule_work(&call->processor); | 1213 | rxrpc_queue_call(call); |
1214 | read_unlock_bh(&call->state_lock); | 1214 | read_unlock_bh(&call->state_lock); |
1215 | } | 1215 | } |
1216 | 1216 | ||
@@ -1224,7 +1224,7 @@ maybe_reschedule: | |||
1224 | read_lock_bh(&call->state_lock); | 1224 | read_lock_bh(&call->state_lock); |
1225 | if (!test_bit(RXRPC_CALL_RELEASED, &call->flags) && | 1225 | if (!test_bit(RXRPC_CALL_RELEASED, &call->flags) && |
1226 | !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) | 1226 | !test_and_set_bit(RXRPC_CALL_RELEASE, &call->events)) |
1227 | schedule_work(&call->processor); | 1227 | rxrpc_queue_call(call); |
1228 | read_unlock_bh(&call->state_lock); | 1228 | read_unlock_bh(&call->state_lock); |
1229 | } | 1229 | } |
1230 | 1230 | ||
@@ -1238,7 +1238,7 @@ error: | |||
1238 | * work pending bit and the work item being processed again */ | 1238 | * work pending bit and the work item being processed again */ |
1239 | if (call->events && !work_pending(&call->processor)) { | 1239 | if (call->events && !work_pending(&call->processor)) { |
1240 | _debug("jumpstart %x", ntohl(call->conn->cid)); | 1240 | _debug("jumpstart %x", ntohl(call->conn->cid)); |
1241 | schedule_work(&call->processor); | 1241 | rxrpc_queue_call(call); |
1242 | } | 1242 | } |
1243 | 1243 | ||
1244 | _leave(""); | 1244 | _leave(""); |