patch-2.0.2 linux/net/ipv4/af_inet.c
Next file: linux/net/ipv4/tcp.c
Previous file: linux/kernel/fork.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Jul 5 18:17:12 1996
- Orig file:
v2.0.1/linux/net/ipv4/af_inet.c
- Orig date:
Wed Jul 3 22:05:23 1996
diff -u --recursive --new-file v2.0.1/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -926,7 +926,7 @@
* Reuse ?
*/
- if (!sk2->dead)
+ if (!sk2->reuse || sk2->state==TCP_LISTEN)
{
sti();
return(-EADDRINUSE);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov