Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2017 10:45:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 221990] panic: Assertion reclaimable == delta failed at ../../../net/iflib.c:1947
Message-ID:  <bug-221990-8-5Bdy3y4hlW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-221990-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-221990-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=3D221990

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

Index: /usr/src/sys/net/iflib.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- /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 <=3D fl->ifl_size);
-       MPASS(reclaimable =3D=3D delta);
+       if (reclaimable !=3D delta)
+               printf("reclaimable =3D %d, not %d. %s\n", reclaimable, del=
ta,
+                   __func__);

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

This works for me.

--=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-221990-8-5Bdy3y4hlW>