diff options
author | Sreeram Ramachandran <sreeram@google.com> | 2014-05-13 22:38:30 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-05-13 22:38:30 +0000 |
commit | ca61b484b6eb1bf92b05bc5386668ec51999e55a (patch) | |
tree | af594403a2c7d8b8f5418ac086d97552fd63377a /rootdir | |
parent | 57e53ed4189cc49844e6afcea2a5861fd8ca93f1 (diff) | |
parent | b8cfcf3d9beb6ae09512941a182c326723b3ef41 (diff) | |
download | system_core-ca61b484b6eb1bf92b05bc5386668ec51999e55a.zip system_core-ca61b484b6eb1bf92b05bc5386668ec51999e55a.tar.gz system_core-ca61b484b6eb1bf92b05bc5386668ec51999e55a.tar.bz2 |
am b8cfcf3d: am 32e4479d: Merge "Set kernel proc files for fwmark reflection and table numbers for RAs."
* commit 'b8cfcf3d9beb6ae09512941a182c326723b3ef41':
Set kernel proc files for fwmark reflection and table numbers for RAs.
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index b5abfb0..bdb68a9 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -109,6 +109,13 @@ loglevel 3 write /proc/sys/kernel/sched_rt_runtime_us 950000 write /proc/sys/kernel/sched_rt_period_us 1000000 + # reflect fwmark from incoming packets onto generated replies + write /proc/sys/net/ipv4/fwmark_reflect 1 + write /proc/sys/net/ipv6/fwmark_reflect 1 + + # set fwmark on accepted sockets + write /proc/sys/net/ipv4/tcp_fwmark_accept 1 + # Create cgroup mount points for process groups mkdir /dev/cpuctl mount cgroup none /dev/cpuctl cpu |