summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2016-04-16 00:01:16 +0000
committerjhb <jhb@FreeBSD.org>2016-04-16 00:01:16 +0000
commit35691f7a6f04cec368d8636543bca596e870faf3 (patch)
tree6170830cb5b37234b5381b6e485d109455b90c41 /sys/netinet/if_ether.c
parent26c891f0342597b83a8dc9b7e9bb67b9728d84ad (diff)
downloadFreeBSD-src-35691f7a6f04cec368d8636543bca596e870faf3.zip
FreeBSD-src-35691f7a6f04cec368d8636543bca596e870faf3.tar.gz
Add a test for cancelling an active AIO request on a socket.
The older AIO code awakened all pending AIO requests on a socket when any data arrived. This could result in AIO daemons blocking on an empty socket buffer. These requests could not be cancelled which led to a deadlock during process exit. This test reproduces this case. The newer AIO code is able to cancel the pending AIO request correctly. Reviewed by: ngie (-ish) Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D4363
Diffstat (limited to 'sys/netinet/if_ether.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud