lkml.org 
[lkml]   [2004]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectQuestion regarding do_tcp_sendpages, tcp_current_mss and eff_sacks
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
-
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: 2005-03-22 14:02    [W:0.028 / U:2.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site