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

Next file: linux/net/netrom/af_netrom.c
Previous file: linux/net/ipv4/tcp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.20/linux/net/ipv4/udp.c linux/net/ipv4/udp.c
@@ -189,7 +189,7 @@
 	/* 4.1.3.3. */
 	/* After the comment above, that should be no surprise. */
 
-	if (icmp_err_convert[err & 0xff].fatal)
+	if (err < 13 && icmp_err_convert[err & 0xff].fatal)
 	{
 		sk->err = icmp_err_convert[err & 0xff].errno;
 		sk->error_report(sk);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this