aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenzo Colitti <lorenzo@google.com>2014-05-27 16:43:00 +0900
committerLorenzo Colitti <lorenzo@google.com>2014-05-27 19:56:53 +0900
commit7c5edb63dfd4c6eecbbbba93003ee8c4112b17d0 (patch)
tree3a0cc1a6a931a861a17c23ca97ae9b7380ee698a
parentdda7bc2000ee9df014ecdadb20e9df6abd5716e4 (diff)
downloadandroid_external_dhcpcd-7c5edb63dfd4c6eecbbbba93003ee8c4112b17d0.tar.gz
android_external_dhcpcd-7c5edb63dfd4c6eecbbbba93003ee8c4112b17d0.tar.bz2
android_external_dhcpcd-7c5edb63dfd4c6eecbbbba93003ee8c4112b17d0.zip
Disable IPv6 RS/RA processing in dhcpcd.
Disable IPv6 RS/RA processing in dhcpcd, because: 1. It doesn't make sense to run IPv6 autoconfiguration both in the kernel and in dhcpcd. 2. The multinetwork code relies on the kernel IPv6 RS/RA implementation, including our patches to put RA-generated routes into per-network routing tables, so at best any autoconf routes created by dhcpcd will be ignored. 3. dhcpcd SEGVs when receiving certain router advertisements. 3) breaks DHCP renew on Ethernet, because dhcpcd crashes after receiving an RA, and unlike wifi, the Ethernet code does not do anything special to renew leases (it just relies on dhcpcd not crashing). This is obviously a problem on molly. Bug: 15268738 Change-Id: I05525cd9664ca381657473ac7e20c8ab86cea038
-rwxr-xr-xandroid.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/android.conf b/android.conf
index bde048c..5f5fd54 100755
--- a/android.conf
+++ b/android.conf
@@ -1,6 +1,9 @@
# dhcpcd configuration for Android Wi-Fi interface
# See dhcpcd.conf(5) for details.
+# IPv6 RS/RA processing is handled by the kernel. See also http://b/15268738
+noipv6rs
+
interface wlan0
# dhcpcd-run-hooks uses these options.
option subnet_mask, routers, domain_name_servers, domain_name, domain_search