/* Allow a kernel service to intercept messages heading for the Rx queue on an RxRPC socket. They get passed to the specified function instead. @interceptor should free the socket buffers it is given. @interceptor is called with the socket receive queue spinlock held and softirqs disabled - this ensures that the messages will be delivered in the right order.  */
void rxrpc_kernel_intercept_rx_messages(struct socket *sock, rxrpc_interceptor_t interceptor)
/* Allow a kernel service to intercept messages heading for the Rx queue on an RxRPC socket. They get passed to the specified function instead. @interceptor should free the socket buffers it is given. @interceptor is called with the socket receive queue spinlock held and softirqs disabled - this ensures that the messages will be delivered in the right order.  */
void rxrpc_kernel_intercept_rx_messages(struct socket *sock, rxrpc_interceptor_t interceptor)
{
	struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
	_enter("");
	rx->interceptor = interceptor;
}