Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2019 12:11:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@freebsd.org
Subject:   [Bug 238870] sys.netpfil.pf.names.names and sys.netpfil.pf.synproxy.synproxy cause panic
Message-ID:  <bug-238870-32464-kAYL6eZJu7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-238870-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-238870-32464@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=3D238870

--- Comment #15 from Hans Petter Selasky <hselasky@FreeBSD.org> ---
Try this:

        struct ifnet *ifp;
        struct epoch_tracker et;

        while (1) {
            NET_EPOCH_ENTER(et);
            CK_STAILQ_FOREACH(ifp, &V_ifnet, if_link) {
                if (ifp->if_home_vnet !=3D ifp->if_vnet)
                    break;
            }
            NET_EPOCH_EXIT(et);
            if (ifp =3D=3D NULL)
                  break;
            if_vmove(ifp, ifp->if_home_vnet);
        }

--=20
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-238870-32464-kAYL6eZJu7>