patch-pre2.0.3 linux/net/ipv4/tcp.c

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

diff -u --recursive --new-file pre2.0.2/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
@@ -985,7 +985,7 @@
 					copy = min(sk->mss - tcp_size, seglen);
 					if (copy <= 0)
 					{
-						printk("TCP: **bug**: \"copy\" <= 0\n");
+						printk(KERN_CRIT "TCP: **bug**: \"copy\" <= 0\n");
 				  		return -EFAULT;
 					}
 					tcp_size += copy;
@@ -1023,7 +1023,7 @@
 				copy = seglen;
 			if (copy <= 0)
 			{
-				printk("TCP: **bug**: copy=%d, sk->mss=%d\n", copy, sk->mss);
+				printk(KERN_CRIT "TCP: **bug**: copy=%d, sk->mss=%d\n", copy, sk->mss);
 		  		return -EFAULT;
 			}
 

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