patch-2.2.5 linux/net/ipv4/af_inet.c

Next file: linux/net/ipv4/devinet.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.4/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -5,7 +5,7 @@
  *
  *		PF_INET protocol family socket handler.
  *
- * Version:	$Id: af_inet.c,v 1.85 1999/03/21 05:22:28 davem Exp $
+ * Version:	$Id: af_inet.c,v 1.86 1999/03/25 00:38:15 davem Exp $
  *
  * Authors:	Ross Biro, <bir7@leland.Stanford.Edu>
  *		Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>
@@ -661,6 +661,7 @@
 		lock_sock(sk);  
 		tcp_set_state(sk, TCP_CLOSE);
 		release_sock(sk); 
+		sk->zapped = 0;
 	}
 	sock->state = SS_UNCONNECTED;
 	return sock_error(sk);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)