Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Dec 2015 22:02:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 202484] vtnet drivers didn't support being use for multicast routing (MRT_ADD_VIF)
Message-ID:  <bug-202484-2472-35mjjJk8va@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-202484-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-202484-2472@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202484

--- Comment #1 from olivier@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202484-2472-35mjjJk8va>