commit | 5d77dca82839ef016a93ad7acd7058b14d967752 | [log] [tgz] |
---|---|---|
author | David Ahern <dsa@cumulusnetworks.com> | Tue Aug 23 21:06:33 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 23 23:12:27 2016 -0700 |
tree | 6ce7ab03eddb29ebcca23e80de5018401b4b00e9 | |
parent | 5128b18522e143e634712ceef6a007333b8c7439 [diff] |
net: diag: support SOCK_DESTROY for UDP sockets This implements SOCK_DESTROY for UDP sockets similar to what was done for TCP with commit c1e64e298b8ca ("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>