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