[Bug 240609] iflib: Panic with INVARIANTS: sleeping in an epoch section (12.1-pre-QA) (vlan + lagg involved)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 9 22:39:32 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240609
--- Comment #11 from commit-hook at FreeBSD.org ---
A commit in branch stable/12 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=4058265d605de7e6e66d9ad5153ac496f4f3c628
commit 4058265d605de7e6e66d9ad5153ac496f4f3c628
Author: Gleb Smirnoff <glebius at FreeBSD.org>
AuthorDate: 2020-12-08 16:46:00 +0000
Commit: Alexander Motin <mav at FreeBSD.org>
CommitDate: 2021-03-09 22:39:06 +0000
The list of ports in configuration path shall be protected by locks,
epoch shall be used only for fast path. Thus use LAGG_XLOCK() in
lagg_[un]register_vlan. This fixes sleeping in epoch panic.
PR: 240609
(cherry picked from commit e1074ed6a08033ee571b4bedb3ffe6049a4a7361)
sys/net/if_lagg.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-net
mailing list