Re: [UPDATE] Zerocopy, last one today I promise :-)

Anton Blanchard (anton@linuxcare.com.au)
Fri, 26 Jan 2001 10:19:21 +1100



> o If sock_writepage is called on path via device without SG support,
> the cooked up sock_sendmsg() call needs to switch to KERNEL_DS.
> Discovered and fixed by Ingo Molnar.

Good catch.

> This does show that not too many people are testing this all that
> thoroughly :-) Basically, any sys_sendfile() over TCP using a network
> card other than loopback/3c59x/sunhme/acenic would fail with -EFAULT
> or even worse a kernel crash depending upon architecture.

Hey now, I was seeing it but I hadn't got around to chasing the bug down. :)

Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/