/* Initiates a graceful shutdown of the TCP socket by calling the equivalent of shutdown(SHUT_WR);  */
static void xs_tcp_shutdown(struct rpc_xprt *xprt)
/* Initiates a graceful shutdown of the TCP socket by calling the equivalent of shutdown(SHUT_WR);  */
static void xs_tcp_shutdown(struct rpc_xprt *xprt)
{
	struct sock_xprt *transport = container_of(xprt, struct sock_xprt, xprt);
	struct socket *sock = transport->sock;
	if (sock != NULL)
		kernel_sock_shutdown(sock, SHUT_WR);
}