[Bug 202484] vtnet drivers didn't support being use for multicast routing (MRT_ADD_VIF)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Dec 10 22:02:17 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202484
--- Comment #1 from olivier at cochard.me ---
errno(2) translate error number 45 by a EOPNOTSUPP.
And code in netinet/ip_mroute.c can return EOPNOTSUPP in 2 cases:
if ((vifcp->vifc_flags & VIFF_TUNNEL) != 0) {
CTR1(KTR_IPMF, "%s: tunnels are no longer supported", __func__);
VIF_UNLOCK();
return EOPNOTSUPP;
or
} else { /* Make sure the interface supports multicast */
if ((ifp->if_flags & IFF_MULTICAST) == 0) {
VIF_UNLOCK();
return EOPNOTSUPP;
But a vtnet interface seems to correctly set IFF_MULTICAST because
dev/virtio/network/if_vtnet.c includes:
vtnet_setup_interface(struct vtnet_softc *sc)
{
...
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
...
}
Then how to troubleshoot deeper this problem ?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list