+1
−0
+15
−0
+79
−0
+1
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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.
[backport of net-next 5d77dca82839ef016a93ad7acd7058b14d967752]
Change-Id: I02a7800eb6f2b442f714c2a3d69b1450d2f68456
Signed-off-by:
David Ahern <dsa@cumulusnetworks.com>
Signed-off-by:
David S. Miller <davem@davemloft.net>