0
0
mirror of https://github.com/ponces/treble_aosp.git synced 2025-04-17 05:55:59 +00:00
Files
treble_aosp/patches/trebledroid/platform_system_netd/0003-Support-no-bpf-usecase.patch
2025-04-01 00:51:53 +00:00

27 lines
895 B
Diff

From f9a2517ad679ba5df2ce45aa0e71b8a33162f20f 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 ea348973..1f982cf3 100644
--- a/server/Controllers.cpp
+++ b/server/Controllers.cpp
@@ -325,7 +325,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.43.0