patch-2.0.1 linux/net/ipv4/af_inet.c
Next file: linux/net/ipv4/ip_forward.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Jul 2 19:08:43 1996
- Orig file:
v2.0.0/linux/net/ipv4/af_inet.c
- Orig date:
Sun Jun 9 13:28:47 1996
diff -u --recursive --new-file v2.0.0/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -926,7 +926,7 @@
* Reuse ?
*/
- if (!sk2->reuse || sk2->state==TCP_LISTEN)
+ if (!sk2->dead)
{
sti();
return(-EADDRINUSE);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov