From: Andi Kleen <ak@suse.de>
To: aprasad@in.ibm.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: query about sending udp packets in kernel mode
Date: 16 Feb 2001 16:44:17 +0100 [thread overview]
Message-ID: <oup1ysytyy6.fsf@pigdrop.muc.suse.de> (raw)
In-Reply-To: <CA2569F5.0045056E.00@d73mta05.au.ibm.com>
In-Reply-To: aprasad@in.ibm.com's message of "16 Feb 2001 13:35:17 +0100"
aprasad@in.ibm.com writes:
> i am getting EFAULT.
Use
mm_segment_t oldseg = get_fs();
set_fs(KERNEL_DS);
... sendmsg
set_fs(oldseg);
-Andi
P.S.: This is really getting a FAQ. If it isn't already please someone add
it to the linux-kernel FAQ.
next prev parent reply other threads:[~2001-02-16 15:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-16 12:26 aprasad
2001-02-16 15:44 ` Andi Kleen [this message]
2001-02-17 10:44 ` Olaf Titz
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=oup1ysytyy6.fsf@pigdrop.muc.suse.de \
--to=ak@suse.de \
--cc=aprasad@in.ibm.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®