Messages in this thread | | | From | (Alan Cox) | Subject | Re: patch for 2.1.90 net/core/iovec et al | Date | Tue, 24 Mar 1998 19:46:13 +0000 (GMT) |
| |
> So it seems to me that the best approach is to just not attempt to reset the > sequence at all, but instead to regard the case of EFAULT during copy as an > error that ate all the bytes. (Such errors will be extremely rare in any event.)
2.0.x preserves the read position when you get an EFAULT. Nothing I can find in the holy manual of posix says what happens if you get an EFAULT on a tcp operation, so I think we can do what we like.
Alan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |