mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* the sendpage function is not working
@ 2006-02-18 18:45 omkar lagu
  0 siblings, 0 replies; only message in thread
From: omkar lagu @ 2006-02-18 18:45 UTC (permalink / raw)
  To: linux-kernel

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 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-18 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-18 18:45 the sendpage function is not working 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®