mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: omkar lagu <omkarlagu@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: inet_sendpage..
Date: Tue, 14 Feb 2006 11:13:37 -0800 (PST)	[thread overview]
Message-ID: <20060214191337.25546.qmail@web50302.mail.yahoo.com> (raw)

hello all,

struct page *page;
page=alloc_pages(GFP_KERNEL,0);
oldms = get_fs(); set_fs(KERNEL_DS);
suc=sockt->ops->sendpage(sockt,page,0,4096,0);
set_fs(oldms);

this stuff doesn`t work .. i am not understanding why
..
and can anyone explain more abt the parameters in
sendpage primitive...
and i have done a printk(suc) its a negative value i
don`t think that sendpage call was succesfull cause i
have a opinion that it should return 0 on success;

thanks in advance 
plz CC to omkarlagu@yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

                 reply	other threads:[~2006-02-14 19:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20060214191337.25546.qmail@web50302.mail.yahoo.com \
    --to=omkarlagu@yahoo.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®