No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
KH Shi 09eb7631fa Fix ConntrackSocketTest#testIpv4ConntrackSocket flaky
If we run an iterations test, TCP connections opened by previous tests
won't be closed immediately. They will stay in the TIME_WAIT state for
120 seconds before closed. Netfilter socket listens to both
NF_NETLINK_CONNTRACK_NEW and NF_NETLINK_CONNTRACK_DESTROY groups.

There is a tiny time gap between socket creation and sending dump
request to kernel. If an old TCP connection happened to be closed in
this time gap, listening socket would see a DESTROY message before
seeing the NEW messages triggered by dump request.

The current test only parsing the first contrack message in the read
buffer, so it will only find the DESTROY message and ignore all of the
following NEW messages. It does a netfilter socket dump, but does not
check whether the dump produces reasonable output. Now that we have
the ability to parse conntrack messages, do more in-depth checking.

Bug: 254608655
Test: atest ConntrackSocketTest --iteration 500
Change-Id: Icf95adb9d9390d598e9c6bdb4e245c5fce764e3e
2022-12-05 22:26:52 +08:00
bpf_progs Merge "bpf clatd.c - refix RFC6145 - really use low 16 bits of IPv6 frag id" 2022-11-24 15:25:59 +00:00
common Fix errorprone warnings that should be errors 2022-11-02 10:13:14 -07:00
Cronet Cronet: Fix linting errors for API tests 2022-11-22 14:36:18 +00:00
framework Merge "Expose vpn bypassability in VpnTransportInfo" 2022-11-15 05:35:08 +00:00
framework-t Merge "ipsec - use ro.vendor.api_level instead of ro.product.first_api_level" 2022-11-09 22:38:36 +00:00
nearby Add ConfigInfrastructure lib to Android.bp 2022-11-23 11:41:43 +00:00
netd Un-drop support for pre-4.14 kernels. 2022-10-27 20:06:16 +09:00
service Merge "Add ConfigInfrastructure lib to Android.bp" 2022-11-24 13:33:28 +00:00
service-t Add ConfigInfrastructure lib to Android.bp 2022-11-23 11:41:43 +00:00
tests Merge "Use a random service type for NsdManagerTest" 2022-11-24 05:37:22 +00:00
Tethering Fix ConntrackSocketTest#testIpv4ConntrackSocket flaky 2022-12-05 22:26:52 +08:00
tools gn2bp: Convert source_set to cc_object 2022-11-25 13:54:05 +00:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Add additional IPsec owners 2021-12-08 06:57:51 +00:00
OWNERS_core_networking owners: add motomuman to core networking owners 2022-09-15 18:24:48 +00:00
OWNERS_core_networking_xts Allow jchalard@, maze@ and reminv@ to approve fixes for flaky tests. 2022-10-06 09:06:20 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Move partial train MTS tests to presubmit 2022-10-03 12:20:17 +00:00