[Bug 225927] [panic] NULL pointer dereference in nd6_llinfo_timer()

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Feb 16 11:25:14 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225927

--- Comment #7 from Andrey V. Elsukov <ae at 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 = ND_IFINFO(ifp);
        send_ns = 0;
+       /*
+        * Check that entry is still linked to LLE table.
+        */
+       if ((ln->la_flags & LLE_LINKED) == 0)
+               goto done;
+       ndi = ND_IFINFO(ifp);
        dst = &ln->r_l3addr.addr6;
        pdst = dst;

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list