aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2018-12-17 22:13:22 -0800
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2019-02-11 20:18:48 +0000
commitd741b31eb8bbb7a6aa1151c55b3d2506662bf6a8 (patch)
treec8bc0c156c1ff83e650db66ace270964b664bc49 /package
parenta7370b5179f5c9793fb18d087955f51d9c080715 (diff)
downloadupstream-d741b31eb8bbb7a6aa1151c55b3d2506662bf6a8.tar.gz
upstream-d741b31eb8bbb7a6aa1151c55b3d2506662bf6a8.tar.bz2
upstream-d741b31eb8bbb7a6aa1151c55b3d2506662bf6a8.zip
base-files: enable BPF JIT sysctl by default
Set net.core.bpf_jit_enable=1 in /etc/sysctl.d/10-default.conf. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'package')
-rw-r--r--package/base-files/files/etc/sysctl.d/10-default.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/base-files/files/etc/sysctl.d/10-default.conf b/package/base-files/files/etc/sysctl.d/10-default.conf
index 46d079b36b..bc8c579695 100644
--- a/package/base-files/files/etc/sysctl.d/10-default.conf
+++ b/package/base-files/files/etc/sysctl.d/10-default.conf
@@ -8,6 +8,8 @@ fs.suid_dumpable=2
fs.protected_hardlinks=1
fs.protected_symlinks=1
+net.core.bpf_jit_enable=1
+
net.ipv4.conf.default.arp_ignore=1
net.ipv4.conf.all.arp_ignore=1
net.ipv4.ip_forward=1