diff options
| author | David Ahern <dsa@cumulusnetworks.com> | 2016-08-23 21:06:33 -0700 |
|---|---|---|
| committer | Lorenzo Colitti <lorenzo@google.com> | 2016-09-19 02:19:26 +0900 |
| commit | 2f500d61a4df5764d94abfab7cbc43e4e9b92881 (patch) | |
| tree | d9b424f491c53baf58ea0ae2706c6e3a9df463a4 /include/linux/stackprotector.h | |
| parent | ecd02bbc43641454b940fcf9c16b39ab8179af67 (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.
[cherry-pick of 5d77dca82839ef016a93ad7acd7058b14d967752]
Change-Id: I4b4862548e6e3c05dde27781e7daa0b18b93bd81
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
