the sendpage function is not working

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

 



hello to all,

We have a problem in the sendpage function 
our code is like this

char *buff;
struct page *page1;

buff=__get_free_page();
/* we get a valid address in buff */

page1=virt_to_page(buff);
/*we get a valid address in page1 also*/

suc=sockt->ops->sendpage(sockt,page1,0,4096,0);
/* but we get negative value in suc */

we are not able to understand the problem hopeing for
reply in detail with an example 


thanks in advance

__________________________________________________
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