mirror of
https://github.com/opnsense/src.git
synced 2026-02-12 07:14:14 -05:00
After the previous changes to fix requests on blocking sockets to complete across multiple operations, an edge case exists where a request can be cancelled after it has partially completed. POSIX doesn't appear to dictate exactly how to handle this case, but in general I feel that aio_cancel() should arrange to cancel any request it can, but that any partially completed requests should return a partial completion rather than ECANCELED. To that end, fix the socket AIO cancellation routine to return a short read/write if a partially completed request is cancelled rather than ECANCELED. Sponsored by: Chelsio Communications |
||
|---|---|---|
| .. | ||
| acl | ||
| aio | ||
| fifo | ||
| file | ||
| geom | ||
| kern | ||
| kqueue | ||
| mac | ||
| mqueue | ||
| netinet | ||
| opencrypto | ||
| pjdfstest | ||
| posixshm | ||
| sys | ||
| vfs | ||
| vm | ||
| Makefile | ||
| Makefile.depend | ||