diff options
Diffstat (limited to 'net/rxrpc/ar-skbuff.c')
-rw-r--r-- | net/rxrpc/ar-skbuff.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/net/rxrpc/ar-skbuff.c b/net/rxrpc/ar-skbuff.c index d73f6fc76011..de755e04d29c 100644 --- a/net/rxrpc/ar-skbuff.c +++ b/net/rxrpc/ar-skbuff.c | |||
@@ -36,7 +36,7 @@ static void rxrpc_request_final_ACK(struct rxrpc_call *call) | |||
36 | rxrpc_get_call(call); | 36 | rxrpc_get_call(call); |
37 | set_bit(RXRPC_CALL_ACK_FINAL, &call->events); | 37 | set_bit(RXRPC_CALL_ACK_FINAL, &call->events); |
38 | if (try_to_del_timer_sync(&call->ack_timer) >= 0) | 38 | if (try_to_del_timer_sync(&call->ack_timer) >= 0) |
39 | schedule_work(&call->processor); | 39 | rxrpc_queue_call(call); |
40 | break; | 40 | break; |
41 | 41 | ||
42 | case RXRPC_CALL_SERVER_RECV_REQUEST: | 42 | case RXRPC_CALL_SERVER_RECV_REQUEST: |
@@ -116,3 +116,17 @@ void rxrpc_packet_destructor(struct sk_buff *skb) | |||
116 | sock_rfree(skb); | 116 | sock_rfree(skb); |
117 | _leave(""); | 117 | _leave(""); |
118 | } | 118 | } |
119 | |||
120 | /** | ||
121 | * rxrpc_kernel_free_skb - Free an RxRPC socket buffer | ||
122 | * @skb: The socket buffer to be freed | ||
123 | * | ||
124 | * Let RxRPC free its own socket buffer, permitting it to maintain debug | ||
125 | * accounting. | ||
126 | */ | ||
127 | void rxrpc_kernel_free_skb(struct sk_buff *skb) | ||
128 | { | ||
129 | rxrpc_free_skb(skb); | ||
130 | } | ||
131 | |||
132 | EXPORT_SYMBOL(rxrpc_kernel_free_skb); | ||