patch-2.1.29 linux/net/ipv4/tcp_ipv4.c
Next file: linux/net/ipv6/addrconf.c
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Wed Mar 5 17:04:34 1997
- Orig file:
v2.1.28/linux/net/ipv4/tcp_ipv4.c
- Orig date:
Tue Mar 4 10:25:27 1997
diff -u --recursive --new-file v2.1.28/linux/net/ipv4/tcp_ipv4.c linux/net/ipv4/tcp_ipv4.c
@@ -230,8 +230,7 @@
}
sk->hashtable = NULL;
}
- if(sk->state == TCP_CLOSE && sk->dead)
- tcp_sk_unbindify(sk);
+ tcp_sk_unbindify(sk);
SOCKHASH_UNLOCK();
}
@@ -251,8 +250,8 @@
}
htable = &((*htable)->next);
}
+ tcp_sk_unbindify(sk);
}
- tcp_sk_unbindify(sk);
htable = NULL;
if(state != TCP_CLOSE || !sk->dead) {
if(state == TCP_LISTEN) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov