diff options
Diffstat (limited to 'net/rxrpc/ar-error.c')
-rw-r--r-- | net/rxrpc/ar-error.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/rxrpc/ar-error.c b/net/rxrpc/ar-error.c index f5539e2f7b58..2c27df1ffa17 100644 --- a/net/rxrpc/ar-error.c +++ b/net/rxrpc/ar-error.c | |||
@@ -111,7 +111,7 @@ void rxrpc_UDP_error_report(struct sock *sk) | |||
111 | 111 | ||
112 | /* pass the transport ref to error_handler to release */ | 112 | /* pass the transport ref to error_handler to release */ |
113 | skb_queue_tail(&trans->error_queue, skb); | 113 | skb_queue_tail(&trans->error_queue, skb); |
114 | schedule_work(&trans->error_handler); | 114 | rxrpc_queue_work(&trans->error_handler); |
115 | 115 | ||
116 | /* reset and regenerate socket error */ | 116 | /* reset and regenerate socket error */ |
117 | spin_lock_bh(&sk->sk_error_queue.lock); | 117 | spin_lock_bh(&sk->sk_error_queue.lock); |
@@ -235,7 +235,7 @@ void rxrpc_UDP_error_handler(struct work_struct *work) | |||
235 | call->state < RXRPC_CALL_NETWORK_ERROR) { | 235 | call->state < RXRPC_CALL_NETWORK_ERROR) { |
236 | call->state = RXRPC_CALL_NETWORK_ERROR; | 236 | call->state = RXRPC_CALL_NETWORK_ERROR; |
237 | set_bit(RXRPC_CALL_RCVD_ERROR, &call->events); | 237 | set_bit(RXRPC_CALL_RCVD_ERROR, &call->events); |
238 | schedule_work(&call->processor); | 238 | rxrpc_queue_call(call); |
239 | } | 239 | } |
240 | write_unlock(&call->state_lock); | 240 | write_unlock(&call->state_lock); |
241 | list_del_init(&call->error_link); | 241 | list_del_init(&call->error_link); |
@@ -245,7 +245,7 @@ void rxrpc_UDP_error_handler(struct work_struct *work) | |||
245 | } | 245 | } |
246 | 246 | ||
247 | if (!skb_queue_empty(&trans->error_queue)) | 247 | if (!skb_queue_empty(&trans->error_queue)) |
248 | schedule_work(&trans->error_handler); | 248 | rxrpc_queue_work(&trans->error_handler); |
249 | 249 | ||
250 | rxrpc_free_skb(skb); | 250 | rxrpc_free_skb(skb); |
251 | rxrpc_put_transport(trans); | 251 | rxrpc_put_transport(trans); |