inet_sendpage..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux