patch-2.4.23 linux-2.4.23/net/ipv4/udp.c
Next file: linux-2.4.23/net/ipv6/Makefile
Previous file: linux-2.4.23/net/ipv4/tcp_output.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/udp.c
- Orig date:
2003-08-25 04:44:44.000000000 -0700
diff -urN linux-2.4.22/net/ipv4/udp.c linux-2.4.23/net/ipv4/udp.c
@@ -164,7 +164,9 @@
if (sk2->num == snum &&
sk2 != sk &&
!ipv6_only_sock(sk2) &&
- sk2->bound_dev_if == sk->bound_dev_if &&
+ (!sk2->bound_dev_if ||
+ !sk->bound_dev_if ||
+ sk2->bound_dev_if == sk->bound_dev_if) &&
(!sk2->rcv_saddr ||
!sk->rcv_saddr ||
sk2->rcv_saddr == sk->rcv_saddr) &&
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)