From ed10b98506cff48c3ab90cd23519e5d2297f6414 Mon Sep 17 00:00:00 2001 From: Rob Murray Date: Tue, 18 Nov 2025 15:38:48 +0000 Subject: [PATCH] Restore missing nwEndpointsMu.Lock - introduced by 4f7afb8 (Remove libnet's logic to track a driver's port mapping state) Signed-off-by: Rob Murray --- daemon/libnetwork/drivers/remote/driver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/libnetwork/drivers/remote/driver.go b/daemon/libnetwork/drivers/remote/driver.go index 5064062c0b..2bb8ba9c13 100644 --- a/daemon/libnetwork/drivers/remote/driver.go +++ b/daemon/libnetwork/drivers/remote/driver.go @@ -415,6 +415,7 @@ func (d *driver) ProgramExternalConnectivity(_ context.Context, nid, eid string, // revokeExternalConnectivity method is invoked to remove any external connectivity programming related to the endpoint. func (d *driver) revokeExternalConnectivity(nid, eid string) error { + d.nwEndpointsMu.Lock() ep, ok := d.nwEndpoints[eid] d.nwEndpointsMu.Unlock() if !ok {