Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2018 11:25:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-net@FreeBSD.org
Subject:   [Bug 225927] [panic] NULL pointer dereference in nd6_llinfo_timer()
Message-ID:  <bug-225927-2472-9ok2srlU0y@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225927-2472@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225927-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=3D225927

--- Comment #7 from Andrey V. Elsukov <ae@FreeBSD.org> ---
For now I'll try this patch with your D4605.

@@ -780,8 +778,13 @@ nd6_llinfo_timer(void *arg)
                CURVNET_RESTORE();
                return;
        }
-       ndi =3D ND_IFINFO(ifp);
        send_ns =3D 0;
+       /*
+        * Check that entry is still linked to LLE table.
+        */
+       if ((ln->la_flags & LLE_LINKED) =3D=3D 0)
+               goto done;
+       ndi =3D ND_IFINFO(ifp);
        dst =3D &ln->r_l3addr.addr6;
        pdst =3D dst;

--=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-225927-2472-9ok2srlU0y>