* inet_sendpage..
@ 2006-02-14 19:13 omkar lagu
0 siblings, 0 replies; only message in thread
From: omkar lagu @ 2006-02-14 19:13 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-14 19:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-14 19:13 inet_sendpage omkar lagu
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®