From: Damian Lukowski Date: Tue, 28 Sep 2010 20:08:32 +0000 (-0700) Subject: net-2.6: SYN retransmits: Add new parameter to retransmits_timed_out() X-Git-Tag: v2.6.36-rc7~16^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d22f7d372f5769c6c0149e427ed6353e2dcfe61;p=pandora-kernel.git net-2.6: SYN retransmits: Add new parameter to retransmits_timed_out() Fixes kernel Bugzilla Bug 18952 This patch adds a syn_set parameter to the retransmits_timed_out() routine and updates its callers. If not set, TCP_RTO_MIN is taken as the calculation basis as before. If set, TCP_TIMEOUT_INIT is used instead, so that sysctl_syn_retries represents the actual amount of SYN retransmissions in case no SYNACKs are received when establishing a new connection. Signed-off-by: Damian Lukowski Signed-off-by: David S. Miller --- Reading git-diff-tree failed