Re: patch for 2.1.90 net/core/iovec et al

David S. Miller (davem@dm.cobaltmicro.com)
Tue, 24 Mar 1998 09:43:58 -0800


Bill, memcpy_toiovec() must return the amount data not copied
successfully when a fault occurs. The reason is that tcp_do_recvmsg()
in tcp.c must be able to move the "read sequence" byte count back
should memcpy_toiovec() fail mid-stream. Browse the call to
memcpy_toiovec() in there for details.

So please change this back in your patches.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu