[Bug 284057] vmxnet3/iflib: crash in vmxnet3_isc_txd_credits_update

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 Jan 2025 14:38:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284057

--- Comment #13 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Andriy Gapon from comment #12)
I don't quite understand the comment either, but it makes some sense to me that
the sysctl hides the problem: the bug is that vmxnet3_isc_txd_credits_update()
can be called multiple times in parallel, from an interrupt handler and from
the transmit path.  The latter happens when ifmp_ring_enqueue() drains the
ring, and this is inhibited when abdicate == 0.

But, I think concurrent calls to vmxnet3_isc_txd_credits_update() is still
possible even with that setting, e.g., from _task_fn_tx().

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