From f8cdebfc359000f721d34156b487f249551abeeb Mon Sep 17 00:00:00 2001 From: paulhu Date: Wed, 17 Mar 2021 13:59:02 +0800 Subject: [PATCH] Migrate net.tcp.default_init_rwnd to net.tcp_def_init_rwnd Currently, tcp receive window size is read from net.tcp.default_init_rwnd then set to net.tcp_def_init_rwnd. It should not use seperate property to read/write the value, it only needs one of property basically. So migrate net.tcp.default_init_rwnd to net.tcp_def_init_rwnd which has formal API. Bug: 182538166 Test: Manually check that net.tcp_def_init_rwnd has default value and proc/sys/net/ipv4/tcp_default_inti_rwnd node is created with same value. Change-Id: I6748485f99198b1200c67d6595b659aac7d7e1e0 --- rootdir/init.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/init.rc b/rootdir/init.rc index 58e161d99..11b3da7d3 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -1074,7 +1074,7 @@ on boot chown root radio /proc/cmdline # Define default initial receive window size in segments. - setprop net.tcp.default_init_rwnd 60 + setprop net.tcp_def_init_rwnd 60 # Start standard binderized HAL daemons class_start hal