[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 Dec 8 16:46:21 UTC 2020


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

--- Comment #9 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: glebius
Date: Tue Dec  8 16:46:01 UTC 2020
New revision: 368448
URL: https://svnweb.freebsd.org/changeset/base/368448

Log:
  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

Changes:
  head/sys/net/if_lagg.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-net mailing list