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

From: David S. Miller (davem@redhat.com)
Date: Thu Jan 25 2001 - 09:16:45 EST


Ok, it's pretty fast, but due to a critical bug fix, there's a new
one going up:

ftp://ftp.kernel.org/pub/linux/kernel/people/davem/zerocopy-2.4.1p10-3.diff.gz

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.

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.

Later,
David S. Miller
davem@redhat.com
-
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:21 EST