patch-1.3.70 linux/net/ipv4/af_inet.c
Next file: linux/net/ipv4/icmp.c
Previous file: linux/net/ethernet/eth.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Mar 1 07:22:57 1996
- Orig file:
v1.3.69/linux/net/ipv4/af_inet.c
- Orig date:
Wed Feb 28 11:50:17 1996
diff -u --recursive --new-file v1.3.69/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -863,7 +863,7 @@
/*
* Allow only if both are setting reuse.
*/
- if(sk2->reuse && sk->reuse)
+ if(sk2->reuse && sk->reuse && sk2->state!=TCP_LISTEN)
continue;
sti();
return(-EADDRINUSE);
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