diff --git a/libnetwork/sandbox/route_linux.go b/libnetwork/sandbox/route_linux.go index 7010957345..946e364860 100644 --- a/libnetwork/sandbox/route_linux.go +++ b/libnetwork/sandbox/route_linux.go @@ -177,7 +177,6 @@ func (n *networkNamespace) AddStaticRoute(r *types.StaticRoute) error { } func (n *networkNamespace) RemoveStaticRoute(r *types.StaticRoute) error { - n.Lock() err := removeRoute(n.nsPath(), r.Destination, r.NextHop) if err == nil {