From: Andrew Morton <[EMAIL PROTECTED]> Date: Sun, 22 Oct 2006 11:40:20 -0700
> if (oldflp->oif == 0 > && (MULTICAST(oldflp->fl4_dst) || oldflp->fl4_dst == 0xFFFFFFFF)) > { > /* Special hack: user can direct multicasts > and limited broadcast via necessary interface > without fiddling with IP_MULTICAST_IF or IP_PKTINFO. > This hack is not just for fun, it allows > vic,vat and friends to work. > They bind socket to loopback, set ttl to zero > and expect that it will work. > From the viewpoint of routing cache they are broken, > because we are not allowed to build multicast path > with loopback source addr (look, routing cache > cannot know, that ttl is zero, so that packet > will not leave this host and route is valid). > Luckily, this hack is good workaround. > */ > > fl.oif = dev_out->ifindex; > goto make_route; > } This code and behavior has been there for 11 years. It is very unlikely we can change this behavior and not break the kinds of applications being mentioned in the comment. Please close this. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html