patch-1.3.62 linux/net/ipv4/timer.c

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

diff -u --recursive --new-file v1.3.61/linux/net/ipv4/timer.c linux/net/ipv4/timer.c
@@ -141,7 +141,8 @@
 			}
 			if(sk->wmem_alloc==0 && sk->rmem_alloc==0)
 				destroy_sock(sk);	/* Socket gone, DON'T update sk->inuse! */
-				break;
+			break;
+
 		case TIME_CLOSE:
 			/* We've waited long enough, close the socket. */
 			sk->state = TCP_CLOSE;
@@ -152,6 +153,7 @@
 			reset_timer (sk, TIME_DESTROY, TCP_DONE_TIME);
 			release_sock (sk);
 			break;
+
 		default:
 			printk ("net_timer: timer expired - reason %d is unknown\n", why);
 			release_sock (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