Lorenzo Colitti c1e64e298b 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 <lorenzo@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-12-15 23:26:52 -05:00
..
2015-12-03 11:32:06 -05:00
2015-08-25 13:37:31 -07:00
2015-05-28 11:23:20 +08:00
2015-12-03 11:32:06 -05:00
2015-12-03 11:32:06 -05:00
2015-05-03 21:58:01 -04:00
2015-09-17 17:18:37 -07:00
2015-10-21 19:36:11 -07:00
2015-11-18 16:25:01 -05:00
2015-12-15 23:25:20 -05:00
2015-11-02 22:54:45 -05:00
2015-02-28 16:56:51 -05:00
2015-11-03 10:52:13 -05:00