]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The list of ports in configuration path shall be protected by locks,
authorglebius <glebius@FreeBSD.org>
Tue, 8 Dec 2020 16:46:00 +0000 (16:46 +0000)
committerglebius <glebius@FreeBSD.org>
Tue, 8 Dec 2020 16:46:00 +0000 (16:46 +0000)
commit7d8c1949890fc8782338036373ada1e1c3377a70
treed0b4a9cad655902e61fb1533bf4e7ac9d90d7ed5
parent5f3b4b79d0cead1c8be197097cbbea162218cc29
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