[Bug 221990] panic: Assertion reclaimable == delta failed at ../../../net/iflib.c:1947

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Oct 10 10:45:13 UTC 2017


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

--- Comment #3 from Peter Holm <pho at FreeBSD.org> ---
Yes,

Index: /usr/src/sys/net/iflib.c
===================================================================
--- /usr/src/sys/net/iflib.c    (revision 323151)
+++ /usr/src/sys/net/iflib.c    (working copy)
@@ -1944,7 +1944,9 @@ __iflib_fl_refill_lt(if_ctx_t ctx, iflib_fl_t fl,
 #endif

        MPASS(fl->ifl_credits <= fl->ifl_size);
-       MPASS(reclaimable == delta);
+       if (reclaimable != delta)
+               printf("reclaimable = %d, not %d. %s\n", reclaimable, delta,
+                   __func__);

        if (reclaimable > 0)
                _iflib_fl_refill(ctx, fl, min(max, reclaimable));

This works for me.

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


More information about the freebsd-bugs mailing list