|author||Lorenzo Colitti <email@example.com>||2015-12-16 12:30:05 +0900|
|committer||David S. Miller <firstname.lastname@example.org>||2015-12-15 23:26:52 -0500|
|parent||net: diag: Support SOCK_DESTROY for inet sockets. (diff)|
net: diag: Support destroying TCP sockets.
This implements SOCK_DESTROY for TCP sockets. It causes all blocking calls on the socket to fail fast with ECONNABORTED and causes a protocol close of the socket. It informs the other end of the connection by sending a RST, i.e., initiating a TCP ABORT as per RFC 793. ECONNABORTED was chosen for consistency with FreeBSD. Signed-off-by: Lorenzo Colitti <email@example.com> Acked-by: Eric Dumazet <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions