patch-1.3.21 linux/net/ipv4/tcp.c

Next file: linux/net/ipv4/udp.c
Previous file: linux/net/ipv4/ip_fw.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.20/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
@@ -886,7 +886,7 @@
 	 * until we time out, or the user gives up.
 	 */
 
-	if (icmp_err_convert[err & 0xff].fatal || sk->state == TCP_SYN_SENT) 
+	if (err < 13 && (icmp_err_convert[err & 0xff].fatal || sk->state == TCP_SYN_SENT))
 	{
 		if (sk->state == TCP_SYN_SENT) 
 		{

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this