1. NAME

sock_release - close a socket

2. SYNOPSIS

void sock_release(struct socket *  sock );

3. ARGUMENTS

sock
    socket to close

4. DESCRIPTION

The socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file.

5. COPYRIGHT