1
0
mirror of https://github.com/yurisieucuti/treble_evolution.git synced 2024-11-28 04:44:30 +00:00
treble_evolution/patches/trebledroid/platform_system_netd/0003-Support-no-bpf-usecase.patch
2024-03-10 06:48:11 +00:00

27 lines
895 B
Diff

From 1bf386d291c7a5ecc00c77dfb89f28c27104d9ec Mon Sep 17 00:00:00 2001
From: ChonDoit <thphantomblog@gmail.com>
Date: Fri, 7 Oct 2022 02:43:21 +0000
Subject: [PATCH 3/4] Support no-bpf usecase
Change-Id: Ic759e2cfaf11705169a4a6b677b0e5aca26907b3
---
server/Controllers.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/Controllers.cpp b/server/Controllers.cpp
index 43a2d1ee..35e2b890 100644
--- a/server/Controllers.cpp
+++ b/server/Controllers.cpp
@@ -284,7 +284,7 @@ void Controllers::init() {
// As such simply exit netd. This may crash loop the system, but by failing
// to bootup we will trigger rollback and thus this offers us protection against
// a mainline update breaking things.
- exit(1);
+ // exit(1);
}
gLog.info("Enabling bandwidth control: %" PRId64 "us", s.getTimeAndResetUs());
--
2.25.1