From 1972a9b6c46536b24c9c24179bfcb17351a3a90c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Wed, 24 Mar 2021 03:53:35 -0700 Subject: [PATCH] Android U - require CONFIG_IFB=y MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Can be used for implementing better ingress rate limiting. In practice already enabled on GKI 5.10+ since S. $ for i in AND510{S,T} AND515T ANDM; do cd /git/$i; echo; echo $i; git grep '^CONFIG_IFB=y$' | egrep gki_defconfig; done AND510S arch/arm64/configs/gki_defconfig:324:CONFIG_IFB=y arch/x86/configs/gki_defconfig:296:CONFIG_IFB=y AND510T arch/arm64/configs/gki_defconfig:337:CONFIG_IFB=y arch/x86/configs/gki_defconfig:308:CONFIG_IFB=y AND515T arch/arm64/configs/gki_defconfig:333:CONFIG_IFB=y arch/x86/configs/gki_defconfig:303:CONFIG_IFB=y ANDM arch/arm64/configs/gki_defconfig:325:CONFIG_IFB=y arch/x86/configs/gki_defconfig:298:CONFIG_IFB=y Test: TreeHugger Bug: 179454839 Signed-off-by: Maciej Żenczykowski Change-Id: I04cf0ca5dae83d73f91b75b99fd6263c7e686aef --- android-5.10/android-base.config | 1 + android-5.15/android-base.config | 1 + 2 files changed, 2 insertions(+) diff --git a/android-5.10/android-base.config b/android-5.10/android-base.config index 52bf43d..40938ff 100644 --- a/android-5.10/android-base.config +++ b/android-5.10/android-base.config @@ -75,6 +75,7 @@ CONFIG_HIDRAW=y CONFIG_HID_SONY=y CONFIG_SONY_FF=y CONFIG_HIGH_RES_TIMERS=y +CONFIG_IFB=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_INET6_ESP=y diff --git a/android-5.15/android-base.config b/android-5.15/android-base.config index 5ce4ef6..74dfa78 100644 --- a/android-5.15/android-base.config +++ b/android-5.15/android-base.config @@ -75,6 +75,7 @@ CONFIG_HIDRAW=y CONFIG_HID_SONY=y CONFIG_SONY_FF=y CONFIG_HIGH_RES_TIMERS=y +CONFIG_IFB=y CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y CONFIG_INET6_ESP=y