All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@linuxcare.com.au>
To: "David S. Miller" <davem@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [UPDATE] Zerocopy, last one today I promise :-)
Date: Fri, 26 Jan 2001 10:19:21 +1100	[thread overview]
Message-ID: <20010126101921.A16670@linuxcare.com> (raw)
In-Reply-To: <14960.13645.936452.235135@pizda.ninka.net>
In-Reply-To: <14960.13645.936452.235135@pizda.ninka.net>; from davem@redhat.com on Thu, Jan 25, 2001 at 06:16:45AM -0800

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

      parent reply	other threads:[~2001-01-25 23:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-25 14:16 [UPDATE] Zerocopy, last one today I promise :-) David S. Miller
2001-01-25 14:52 ` Tobias Ringstrom
2001-01-25 15:23   ` David S. Miller
2001-01-25 15:40     ` Tigran Aivazian
2001-01-25 15:42       ` David S. Miller
2001-01-25 16:10     ` James H. Cloos Jr.
2001-01-25 16:40       ` David S. Miller
2001-01-25 17:02         ` Andi Kleen
2001-01-25 19:40         ` kuznet
2001-01-26  9:09           ` Chris Wedgwood
2001-01-25 23:19 ` Anton Blanchard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010126101921.A16670@linuxcare.com \
    --to=anton@linuxcare.com.au \
    --cc=davem@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.