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

From: Anton Blanchard (anton@linuxcare.com.au)
Date: Thu Jan 25 2001 - 18:19:21 EST


 
> 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/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:23 EST