mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-08 14:13:05 +09:00
This implements SOCK_DESTROY for UDP sockets similar to what was done for TCP with commitc1e64e298b("net: diag: Support destroying TCP sockets.") A process with a UDP socket targeted for destroy is awakened and recvmsg fails with ECONNABORTED. [cherry-pick of5d77dca828] Change-Id: I4b4862548e6e3c05dde27781e7daa0b18b93bd81 Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>