patch-2.1.24 linux/include/net/tcp.h

Next file: linux/kernel/sched.c
Previous file: linux/include/net/sock.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.23/linux/include/net/tcp.h linux/include/net/tcp.h
@@ -432,8 +432,7 @@
 	sk->state = state;
 
 #ifdef STATE_TRACE
-	if(sk->debug)
-		printk("TCP sk=%p, State %s -> %s\n",sk, statename[oldstate],statename[state]);
+	SOCK_DEBUG(sk, "TCP sk=%p, State %s -> %s\n",sk, statename[oldstate],statename[state]);
 #endif	
 
 	switch (state) {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov