Skip to content
Commit 4cfb44df authored by Benjamin Berg's avatar Benjamin Berg Committed by Johannes Berg
Browse files

um: chan_user: retry partial writes



In the next commit, we are going to set the output FD to be blocking.
Once that is done, the write() may be short if an interrupt happens
while it is writing out data. As such, to properly catch an EINTR error,
we need to retry the write.

Signed-off-by: default avatarBenjamin Berg <benjamin.berg@intel.com>
Link: https://patch.msgid.link/20231018123643.1255813-3-benjamin@sipsolutions.net
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c6c4cbaa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment