]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The list of ports in configuration path shall be protected by locks,
authorGleb Smirnoff <glebius@FreeBSD.org>
Tue, 8 Dec 2020 16:46:00 +0000 (16:46 +0000)
committerGleb Smirnoff <glebius@FreeBSD.org>
Tue, 8 Dec 2020 16:46:00 +0000 (16:46 +0000)
commite1074ed6a08033ee571b4bedb3ffe6049a4a7361
treed0b4a9cad655902e61fb1533bf4e7ac9d90d7ed5
parent2c9ac5855b2f45cf94ac1004b945c1d4aa77cc21
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
sys/net/if_lagg.c