
This implements SOCK_DESTROY for UDP sockets similar to what was done
for TCP with commit c1e64e298b
("net: diag: Support destroying TCP
sockets.") A process with a UDP socket targeted for destroy is awakened
and recvmsg fails with ECONNABORTED.
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
10 KiB
10 KiB