1
0
mirror of https://github.com/ponces/treble_aosp.git synced 2024-11-25 04:26:24 +00:00
treble_aosp/patches/trebledroid/platform_system_netd/0003-Support-no-bpf-usecase.patch
2024-06-18 10:56:01 +01:00

27 lines
895 B
Diff

From 7995aba04c82cf2a8d47b2d3f6c45959470135ec 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 87b2c55d..1a027210 100644
--- a/server/Controllers.cpp
+++ b/server/Controllers.cpp
@@ -321,7 +321,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.34.1