-
Lorenzo Colitti authored
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. [Backport of net-next c1e64e298b8cad309091b95d8436a0255c84f54a] Change-Id: I29c71cc0d72995bf245c36bcebfa8721739cc445 Signed-off-by:
Lorenzo Colitti <lorenzo@google.com> Acked-by:
Eric Dumazet <edumazet@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Reviewed-on: http://git-master/r/1123595 GVS: Gerrit_Virtual_Submit Reviewed-by:
Om Prakash Singh <omp@nvidia.com> Reviewed-by:
Bhadram Varka <vbhadram@nvidia.com> Tested-by:
Bhadram Varka <vbhadram@nvidia.com> Reviewed-by:
Michael Hsu <mhsu@nvidia.com> Reviewed-by:
Ashutosh Jha <ajha@nvidia.com> (cherry picked from commit 2e025129df6473432c1c5b32cef61ad5811677aa) Reviewed-on: http://git-master/r/1127381 Reviewed-by:
Laxman Dewangan <ldewangan@nvidia.com>
Lorenzo Colitti authoredThis 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. [Backport of net-next c1e64e298b8cad309091b95d8436a0255c84f54a] Change-Id: I29c71cc0d72995bf245c36bcebfa8721739cc445 Signed-off-by:
Lorenzo Colitti <lorenzo@google.com> Acked-by:
Eric Dumazet <edumazet@google.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Reviewed-on: http://git-master/r/1123595 GVS: Gerrit_Virtual_Submit Reviewed-by:
Om Prakash Singh <omp@nvidia.com> Reviewed-by:
Bhadram Varka <vbhadram@nvidia.com> Tested-by:
Bhadram Varka <vbhadram@nvidia.com> Reviewed-by:
Michael Hsu <mhsu@nvidia.com> Reviewed-by:
Ashutosh Jha <ajha@nvidia.com> (cherry picked from commit 2e025129df6473432c1c5b32cef61ad5811677aa) Reviewed-on: http://git-master/r/1127381 Reviewed-by:
Laxman Dewangan <ldewangan@nvidia.com>
Loading