android_packages_modules_Co.../Tethering
Repository files (latest commit first)
Filename Latest commit message Latest commit date
KH Shi 9dfbb45bb6 Add null check for tupleOrig in ConntrackMessage
ConntrackSocketTest#testIpv4ConntrackSocket always fail in cuttlefish
because it gets NullPointerException when accessing tupleOrig in
ConntrackMessage. tupleOrig can be null if it doesn't have source IP.

This situation happens when dumping the following conntrack entry:
vsoc_x86_64:/ # cat /proc/net/nf_conntrack
ipv4     2 unknown  2 570 src=0.0.0.0 dst=224.0.0.22 [UNREPLIED] \
src=224.0.0.22 dst=0.0.0.0 mark=0 secctx=u:object_r:unlabeled:s0 use=2

Bug: 280203901
Test: atest TetheringPrivilegedTests (on cuttlefish)
Change-Id: Iddc8cb390a4369190d535f4694e0e5fa4b6e590f
2023-05-02 22:57:24 +08:00
..
apex Move cronet to framework-connectivity 2023-04-19 11:32:12 +09:00
apishim Use IBpfMap type instead of BpfMap type 2022-08-24 23:31:19 +09:00
common/TetheringLib Move cronet to framework-connectivity 2023-04-19 11:32:12 +09:00
jni switch to classic bpf macros 2023-04-19 00:06:15 +00:00
res Add config_p2p_leases_subnet_prefix_length configuration 2022-03-31 16:32:55 +08:00
src Add a dependency object in TetheringConfiguration 2023-04-28 19:18:43 +09:00
tests Add null check for tupleOrig in ConntrackMessage 2023-05-02 22:57:24 +08:00
Android.bp Add libnetd_updatable to tethering-module-sdk 2023-04-13 19:37:48 +00:00
AndroidManifest.xml Update design to fix non-protected broadcast from system issue 2023-02-20 02:33:35 +00:00
AndroidManifest_InProcess.xml Change tethering file structure to respect its package name 2020-04-14 12:25:03 +00:00
AndroidManifestBase.xml Add usesCleartextTraffic to Tethering 2020-08-19 08:56:10 +00:00
jarjar-rules.txt Fix jarjar rules for tethering apk 2022-05-31 15:20:52 +08:00
OWNERS Revert "Add owners block for migration" 2021-05-31 10:34:04 +00:00
proguard.flags Keep primitive members used by MessageUtils. 2022-10-13 13:11:53 +09:00