patch-2.4.22 linux-2.4.22/net/ipv6/raw.c
Next file: linux-2.4.22/net/ipv6/reassembly.c
Previous file: linux-2.4.22/net/ipv6/netfilter/ip6t_rt.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/raw.c
- Orig date:
2002-08-02 17:39:46.000000000 -0700
diff -urN linux-2.4.21/net/ipv6/raw.c linux-2.4.22/net/ipv6/raw.c
@@ -97,7 +97,7 @@
if (ipv6_addr_cmp(&np->rcv_saddr, loc_addr) == 0)
break;
if ((addr_type & IPV6_ADDR_MULTICAST) &&
- inet6_mc_check(s, loc_addr))
+ inet6_mc_check(s, loc_addr, rmt_addr))
break;
continue;
}
@@ -573,7 +573,7 @@
fl.oif = sin6->sin6_scope_id;
} else {
if (sk->state != TCP_ESTABLISHED)
- return(-EINVAL);
+ return -EDESTADDRREQ;
proto = sk->num;
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)