| Commit message (Collapse) | Author | Age | Files | Lines |
| |\
| |
| |
| | |
Change-Id: I023220312020004dac956d100acc7f901cebd97c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the event the packet socket has an error, it is likely not cleared
and clatd can spin in a tight loop. This may happen when a network is
going down (ENETDOWN, ENETUNREACH, ...). Ordinarily the
ConnectivityService/Nat464Xlat/ClatdController control plane would
tear down clatd in this case. However, if the control plane is
deadlocked, clatd will chew up CPU indefinitely.
This fix consists of detecting when poll() exits due to a socket error
and trying to clear the error by issuing a no-op recv() on the packet
socket and a 0-byte read() for the /dev/tun socket.
Test: manually, on a marlyn device (kernel 3.18.70)
Bug: 78602493
Change-Id: Ic23f999712a674df11e981a4314ad371e8d5fb6d
(cherry picked from commit 69dc60de5d53488a3c45737ec17b242d703d682b)
|
| |\|
| |
| |
| | |
Change-Id: I90ea8a7d50aa3003f8dc67c4b26d913505783193
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test: as follows
- builds
- flashes
- boots
- runtest -x external/android-clat/clatd_test.cpp passes
Bug: 64133961
Bug: 72345192
Merged-In: I10367d3b83acce55e3492812fd04cbdf5f0e6e1a
Merged-In: I5c13652a2c79c07318cc20311c9666535df91d7d
Change-Id: Ieb46fa6a158ec7470e261cc6e9345a3266c81a04
(cherry picked from commit f1c79f8dac61141a518b87361cfef0619e3ef49e)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test: as follows
- builds
- flashes
- boots
- runtest -x external/android-clat/clatd_test.cpp passes
Bug: 64133961
Bug: 72345192
Merged-In: I0b70f1655c9a202905a30838b002c9482898d506
Merged-In: I45214f0a04623012187168d9319babc98eb396de
Change-Id: If5238d0cdf27cb4cd689e1ff1ff776bc638d5a7b
(cherry picked from commit 0b1d19ca5f77aa99fee2f390c76c40c9bfcef8b4)
|
| |\|
| |
| |
| | |
Change-Id: Ib26b4155ea9adb4148d332c252d403b34c7f7268
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
am: e8e758f5f9
am: 8c846c961e
Change-Id: Ib08722fac4a26f25ddba4e10b314e69f9f57a2cb
|
| | | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
am: e8e758f5f9
Change-Id: I9bd53ab05c27c414a7ac06f189ea484e2737852c
|
| | | |/|
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 3d7e939b89
Change-Id: I41333ccbafc3646285c3145acfe3000e15873dc7
|
| | | |/| |
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit cc94e5f25303bc0ffdc2e327b56564f59f48804f.
Reason for revert: XLAT doesn't work in permissive mode
Bug: 69863844
Change-Id: I62e390b960465048fbbd68e60d0a2c9c7d2c82d3
|
| |\| | |
| | | |
| | | |
| | | | |
Change-Id: Ie510518abcfefa1a9ae76719a8da7cafe609832c
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 22f8d1e6b7
Change-Id: I4357afd3d2c5a603d928dd73d6410b1cb6ec7582
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 5fcb58ea11
Change-Id: I02b30d90ef36d3ffc766dfd7770620dc668fa997
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently, we only scale down DNS64 detection queries to one
every two minutes. This wastes power on true IPv6-only networks
such as the IMS networks of many operators. The only possible
benefit is that if a NAT64 were to appear on a previously
IPv6-only network, we detect it within two minutes.
Set the maximum backoff to one query per 30 minutes, while
maintaining the exponential backoff starting at 1 second.
(cherry picked from commit d1383bd268946d0c54e50e981b7d5c2c85509df4)
Bug: 62650901
Test: bullhead successfully detects NAT64 network
Change-Id: Ib6a7df5b25690d8b564079efbcaf8325c37c2e48
|
| |\| | | |
| |_|/ /
|/| | |
| | | |
| | | |
| | | | |
938 snap-temp-L58200000099370312
Change-Id: I2e69b2328beeef00aa94f21438c01a694d1686dd
|
| |/| | |
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
e477c86203 am: 0ca87dfcd8 am: 65f4d21210
am: a294ae3d3f
Change-Id: I44c3f3ead813de4c5e09d32d27e6ea98bacd418a
|
| |/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
e477c86203 am: 0ca87dfcd8
am: 65f4d21210
Change-Id: I968b624584cd15292e876e22a5486195421314e4
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
e477c86203
am: 0ca87dfcd8
Change-Id: Id20545871aee073d5ed3ecc611bb575ca5c6549a
|
| | |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: e477c86203
Change-Id: I41f54d6b15bb958bb68f6bcdbb0fe63c20836a30
|
| | | |\ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Currently, we only scale down DNS64 detection queries to one
every two minutes. This wastes power on true IPv6-only networks
such as the IMS networks of many operators. The only possible
benefit is that if a NAT64 were to appear on a previously
IPv6-only network, we detect it within two minutes.
Set the maximum backoff to one query per 30 minutes, while
maintaining the exponential backoff starting at 1 second.
Bug: 62650901
Test: bullhead successfully detects NAT64 network
Change-Id: Ia411018b92722615c3ac52bc7f360094bc96532f
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 4475bff7d4
Change-Id: If83d8b648de9257e1c895491b22ff6bb6ea6543f
|
| |/| | | |
| |/ / /
| | | |
| | | |
| | | |
| | | | |
am: a9ac3414a2
Change-Id: I13881c749067c7c3147b3835956fee2f23ee62b3
|
| | |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: dea8011022
Change-Id: If3d829f076c5d8df87b48283cc47cb23f8d5b877
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: e700a73dd0
Change-Id: I0e17eb676d96c07078f087c891a37d9f44030d9a
|
| | | |/ /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Owners are selected from top CL approvals or owners.
They will be suggested to review/approve future CLs.
* OWNERS files are recognized by the new find-owners plugin, see .md files in
https://gerrit.googlesource.com/plugins/find-owners/+/master/src/main/resources/Documentation/
Test: build/make/tools/checkowners.py -c -v OWNERS
Change-Id: Ied56f2eb0e21a1c61ec67c891d31c837b6bb1b7f
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 0eedb3a012
am: 90b3e9e874
Change-Id: Ia233ad0f34c7ef3008131f40b7c501f7261911d8
|
| |/| | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 0eedb3a012
Change-Id: I49800eefd992d56d5c15e048374d2c3d25408483
|
| | |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 7feee22359
Change-Id: If2cba3f8c38d1916af31df5e226c4e7a048ae8e7
|
| | |/| |
| | |/
| | |
| | |
| | |
| | | |
am: cc94e5f253
Change-Id: I6e72eda090df072c75b894b96204508943c4bdc6
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As of bionic commit I835a7b42d6afbc9c67866594c7951cfd9b355d81,
ANDROID_DNS_MODE is deleted from the environment when a security
transition occurs. As netd and clatd run in different SELinux security
domains, this variable will be automatically deleted. It's unnecessary
(but harmless) to delete it ourselves. Delete unnecessary code.
Test: Android compiles and runs with no obvious problems.
Change-Id: Id46c1a6989a3441a11b4be3d8a28aa1b926c1c6d
|
| |\| |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
86aef02633 am: ca7e734504 am: 9666b3f728
am: 396ee5d5f6
Change-Id: I2bf37e1a7021b6f9664c524317d3b37710fa9a22
|
| | |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
86aef02633 am: ca7e734504
am: 9666b3f728
Change-Id: I958535ba5951473c3ff286d7d95635a62c2b0b6d
|
| | | |\ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: ca7e734504
Change-Id: Ib16e17284db0ab02e51716b68021053d4a35a19e
|
| | | | |\|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 86aef02633
Change-Id: I61039566e228c7197a65705bf5288c99608bf66b
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 6f02370684fdab6f6b4ac1f73518d0c624406fcf.
Bug: http://b/31532493
Test: Manual validation
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
64cff2891d am: 7cd97025b3
am: 374bf96082
Change-Id: Ifebbc629042d65f38b33a1dff6e3bc92d021c6ff
|
| | |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
64cff2891d
am: 7cd97025b3
Change-Id: Ib79e15a9c6e66d9a607c21cc4db745eab29a1f9f
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 64cff2891d
Change-Id: I2f891738d9de0d8108b87dc5a2686bc65850b118
|
| | | | |\|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 6f02370684
Change-Id: Id46b28108cc9bb8f66ad9bcb23ad782f8d9d7add
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 5437b1d29c19e09afe9b088e9f4399e937c691c7.
Reason for revert: <INSERT REASONING HERE>
Change-Id: I7b53131056ecbf1b9780e46f8105d72138b59641
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
26ff7fe1cb am: 40480b6834
am: cd87bce25e
Change-Id: I90e79ac7059bc395a0d4c28972d59b9f5721213c
|
| | |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 40480b6834
Change-Id: Idd1bee5e40f05708ee22810d56f56b4ec0b18a10
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 26ff7fe1cb
Change-Id: I9676e41c1d9f5e45a1cf4c241f1a696b93253aff
|
| | | | |\|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: 5437b1d29c
Change-Id: I0992550dd6334db8853294c5b80a6b5b61365710
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: http://b/33566695
Taking the address of packed data members yields pointers that only have
a guaranteed alignment of 1. Since this is an external/ project, we
temporarily will disable this warning until a proper fix can be made in
the upstream version of the project.
Test: Builds successfully with updated toolchain.
Change-Id: I8be14bdd5600108de227a1ec16d86caac452ec85
|
| |\| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
am: fcac30b0ab
Change-Id: I1c2b2f1accf2ba9d6485e7f0a519b1122dfa296d
|
| |/| | | |
| |/ / /
| | | |
| | | |
| | | |
| | | | |
am: ac2b86fc73
Change-Id: I2af1555cf2341c4947c0a23298e6592adb195156
|
| |/| | |
| |/ /
| | |
| | |
| | |
| | | |
am: ff0b803476
Change-Id: Id399a7ee263cf8d1ba071d886cdceec87deaf874
|