/* Free the svc_sock's socket resources and the svc_sock itself.  */
static void svc_sock_free(struct svc_xprt *)
/* Free the svc_sock's socket resources and the svc_sock itself.  */
static void svc_sock_free(struct svc_xprt *)
{
	struct svc_sock *svsk = container_of(xprt, struct svc_sock, sk_xprt);
	dprintk("svc: svc_sock_free(%p)\n", svsk);
	if (svsk->sk_sock->file)
		sockfd_put(svsk->sk_sock);
	else
		sock_release(svsk->sk_sock);
	kfree(svsk);
}