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
This commit is contained in:
paulhu 2021-03-17 13:59:02 +08:00
parent 102f7e4d7e
commit f8cdebfc35
1 changed files with 1 additions and 1 deletions

View File

@ -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