firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-net_Kconfig.patch

50 lines
1.3 KiB
Diff

diff -drupN a/net/Kconfig b/net/Kconfig
--- a/net/Kconfig 2018-08-06 17:23:04.000000000 +0300
+++ b/net/Kconfig 2022-06-12 05:28:14.000000000 +0300
@@ -7,6 +7,7 @@ menuconfig NET
select NLATTR
select GENERIC_NET_UTILS
select BPF
+ select RHASHTABLE
---help---
Unless you really know what you are doing, you should say Y here.
The reason is that some programs need kernel networking support even
@@ -89,6 +90,18 @@ source "net/netlabel/Kconfig"
endif # if INET
+config ANDROID_PARANOID_NETWORK
+ bool "Only allow certain groups to create sockets"
+ default y
+ help
+ none
+
+config NET_ETHTOOL
+ bool "Ethtool support"
+ default y
+ help
+ Support changing ethernet driver parameters from user tools.
+
config NETWORK_SECMARK
bool "Security Marking"
help
@@ -258,10 +271,6 @@ config XPS
config HWBM
bool
-config SOCK_CGROUP_DATA
- bool
- default n
-
config CGROUP_NET_PRIO
bool "Network priority cgroup"
depends on CGROUPS
@@ -292,6 +301,7 @@ config BPF_JIT
bool "enable BPF Just In Time compiler"
depends on HAVE_CBPF_JIT || HAVE_EBPF_JIT
depends on MODULES
+ depends on !CFI
---help---
Berkeley Packet Filter filtering capabilities are normally handled
by an interpreter. This option allows kernel to generate a native