patch-1.3.31 linux/net/ipv4/tcp.c
Next file: linux/net/netlink.c
Previous file: linux/net/ipv4/ipmr.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Oct 2 14:25:13 1995
- Orig file:
v1.3.30/linux/net/ipv4/tcp.c
- Orig date:
Wed Sep 27 16:00:02 1995
diff -u --recursive --new-file v1.3.30/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
@@ -509,6 +509,8 @@
sk->state=state;
if(state==TCP_ESTABLISHED)
tcp_statistics.TcpCurrEstab++;
+ if(sk->state==TCP_CLOSE)
+ tcp_cache_zap();
}
/*
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