diff options
author | Sreeram Ramachandran <sreeram@google.com> | 2014-05-13 22:43:58 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-05-13 22:43:58 +0000 |
commit | 3c1c730f206d1d2dc25ac555d48513d6a3e5fb7f (patch) | |
tree | 8b3b241054d841bb3639a2b8bc89c919637d8087 /rootdir | |
parent | 910bca6850aea80bb4431aaccb2561730fe9741d (diff) | |
parent | ca61b484b6eb1bf92b05bc5386668ec51999e55a (diff) | |
download | core-3c1c730f206d1d2dc25ac555d48513d6a3e5fb7f.tar.gz core-3c1c730f206d1d2dc25ac555d48513d6a3e5fb7f.tar.bz2 core-3c1c730f206d1d2dc25ac555d48513d6a3e5fb7f.zip |
am ca61b484: am b8cfcf3d: am 32e4479d: Merge "Set kernel proc files for fwmark reflection and table numbers for RAs."
* commit 'ca61b484b6eb1bf92b05bc5386668ec51999e55a':
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 b0cd45a35..833b96db8 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 |