[IPv6 Users] Multicast Loopback on DAD
Suresh <[email protected]> Thu, 26 Oct 2006 20:41:02 +0900
| Newsgroups | gmane.network.ipv6.general,gmane.linux.ipv6.usagi.users |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I have doubt on the Multicast Loopback handling on DAD.
Does Linux-IPv6 confirm "9. APPENDIX A: LOOPBACK SUPPRESSION &
DUPLICATE ADDRESS DETECTION" of RFC2462 ? According to the following
code, DAD will not work where two interfaces are using the same
link-layer address, since it simply discards the packet from other node
also. Am I right?
if (dev->type == ARPHRD_IEEE802_TR) {
unsigned char *sadr = skb->mac.raw;
if (((sadr[8] ^ dev->dev_addr[0]) &
0x7f) == 0 &&
sadr[9] == dev->dev_addr[1] &&
sadr[10] == dev->dev_addr[2] &&
sadr[11] == dev->dev_addr[3] &&
sadr[12] == dev->dev_addr[4] &&
sadr[13] == dev->dev_addr[5]) {
/* looped-back to us */
goto out;
}
}
with regards,
Suresh
_______________________________________________
Users mailing list
[email protected]
https://lists.ipv6.org/mailman/listinfo/users