1SOCK_RELEASE(9) Linux Networking SOCK_RELEASE(9)
23
4
NAME
6sock_release - close a socket
7
SYNOPSIS
9void sock_release(struct socket * sock);
10
ARGUMENTS
12sock
13socket to close
14
DESCRIPTION
16The socket is released from the protocol stack if it has a release
17callback, and the inode is then released if the socket is bound to an
18inode not a file.
19
COPYRIGHT
21Kernel Hackers Manual 2.6. November 2011 SOCK_RELEASE(9)