Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jul 2016 11:21:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 210943] Page fault in ip6_setpktopts when syncthing is started with pflog loaded
Message-ID:  <bug-210943-8-eB8KRRyn2M@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210943-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210943-8@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=3D210943

--- Comment #2 from Andrey V. Elsukov <ae@FreeBSD.org> ---
I prefer this patch, can you test?

--- ip6_output.c        (revision 302315)
+++ ip6_output.c        (working copy)
@@ -2659,8 +2659,8 @@ ip6_setpktopt(int optname, u_char *buf, int len, s
                        if (ifp =3D=3D NULL)
                                return (ENXIO);
                }
-               if (ifp !=3D NULL && (
-                   ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED))
+               if (ifp !=3D NULL && (ifp->if_afdata[AF_INET6] =3D=3D NULL =
||
+                   (ND_IFINFO(ifp)->flags & ND6_IFF_IFDISABLED) !=3D 0))
                        return (ENETDOWN);

                if (ifp !=3D NULL &&

--=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-210943-8-eB8KRRyn2M>