patch-2.4.23 linux-2.4.23/net/ipv4/tcp_ipv4.c
Next file: linux-2.4.23/net/ipv4/tcp_output.c
Previous file: linux-2.4.23/net/ipv4/tcp_input.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-11-28 10:26:21.000000000 -0800
- Orig file:
linux-2.4.22/net/ipv4/tcp_ipv4.c
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.22/net/ipv4/tcp_ipv4.c linux-2.4.23/net/ipv4/tcp_ipv4.c
@@ -189,7 +189,9 @@
if (sk != sk2 &&
sk2->reuse <= 1 &&
!ipv6_only_sock(sk2) &&
- sk->bound_dev_if == sk2->bound_dev_if) {
+ (!sk->bound_dev_if ||
+ !sk2->bound_dev_if ||
+ sk->bound_dev_if == sk2->bound_dev_if)) {
if (!sk_reuse ||
!sk2->reuse ||
sk2->state == TCP_LISTEN) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)