Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This bug described a situation where an ongoing transfer would be prematurely aborted when one of our timers fired. The timer could have fired for an unrelated reason, but if we were in the process of reading or writing with pr_netio_read() or pr_netio_write(), those calls would be interrupted with errno set to EINTR, and an error would be returned. Then pr_data_xfer() would abort the transfer. EAGAIN was already being handled properly, and we can just use the same treatment for EINTR so that we only respond to the timers we should actually care about.
- Loading branch information