Messages in this thread | | | Date | Sat, 18 Feb 2006 10:45:09 -0800 (PST) | From | omkar lagu <> | Subject | the sendpage function is not working |
| |
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |