patch-2.4.22 linux-2.4.22/net/ipv6/udp.c
Next file: linux-2.4.22/net/irda/crc.c
Previous file: linux-2.4.22/net/ipv6/tcp_ipv6.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/net/ipv6/udp.c
- Orig date:
2003-06-13 07:51:39.000000000 -0700
diff -urN linux-2.4.21/net/ipv6/udp.c linux-2.4.22/net/ipv6/udp.c
@@ -564,7 +564,7 @@
if(ipv6_addr_cmp(&np->rcv_saddr, loc_addr) == 0)
return s;
}
- if(!inet6_mc_check(s, loc_addr))
+ if(!inet6_mc_check(s, loc_addr, rmt_addr))
continue;
return s;
}
@@ -838,7 +838,7 @@
fl.oif = sin6->sin6_scope_id;
} else {
if (sk->state != TCP_ESTABLISHED)
- return -ENOTCONN;
+ return -EDESTADDRREQ;
udh.uh.dest = sk->dport;
daddr = &sk->net_pinfo.af_inet6.daddr;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)