public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question regarding do_tcp_sendpages, tcp_current_mss and eff_sacks
@ 2004-04-17 20:03 Ashvin Goel
  0 siblings, 0 replies; only message in thread
From: Ashvin Goel @ 2004-04-17 20:03 UTC (permalink / raw)
  To: linux-kernel

I am trying to use do_tcp_sendpages() to stream some data from within 
the Linux Redhat kernel 2.4.20 (it is an smp kernel running on a 
uniprocessor). After a while this function returns an error value of 
-512. This error value makes no sense to me. A little debugging showed 
that tcp_current_mss() returns negative values. In particular, for the 
socket to which do_tcp_sendpages() is sending data, tp->eff_sacks has 
the value 200. This makes the value returned by tcp_current_mss be -156 
(1448 - 4 - 200 * 8). Is this value reasonable? I think this value is 
causing do_tcp_sendpages() to return a large negative value.

Thanks for any help/suggestions. Please CC your post to me personally.

Thanks
Ashvin Goel

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

only message in thread, other threads:[~2004-04-17 20:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-17 20:03 Question regarding do_tcp_sendpages, tcp_current_mss and eff_sacks Ashvin Goel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox