lkml.org 
[lkml]   [2006]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectthe 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/

\
 
 \ /
  Last update: 2006-02-18 19:47    [W:0.026 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site