android_packages_modules_Co.../netd
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hungming Chen 478c0eb21c BpfHandler: only allow to tag udp/tcp socket
The TrafficController socket destroy listener only monitors
on the group {INET_TCP, INET_UDP, INET6_TCP, INET6_UDP}.
Tagging listener unsupported socket causes that the tag can't
be removed from tag map automatically. Eventually, the tag map
run out of space because of dead tag entries.

See TrafficController::makeSkDestroyListener in
packages/modules/Connectivity/service/native/TrafficController.cpp

Bug: 223094609
Test: atest BpfHandlerTest
Change-Id: Icc19b7c9f37fef498b89f43e44767f6b9e931a5a
2022-03-07 16:03:05 +08:00
..
include [NETD-BPF#19] Mainline part of bpf code from netd 2022-01-30 09:51:25 +08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to packages/modules/Connectivity 2022-02-10 10:57:23 -08:00
BpfHandler.cpp BpfHandler: only allow to tag udp/tcp socket 2022-03-07 16:03:05 +08:00
BpfHandler.h [NETD-BPF#19] Mainline part of bpf code from netd 2022-01-30 09:51:25 +08:00
BpfHandlerTest.cpp BpfHandler: only allow to tag udp/tcp socket 2022-03-07 16:03:05 +08:00
libnetd_updatable.map.txt [NETD-BPF#19] Mainline part of bpf code from netd 2022-01-30 09:51:25 +08:00
NetdUpdatable.cpp [NETD-BPF#19] Mainline part of bpf code from netd 2022-01-30 09:51:25 +08:00
NetdUpdatable.h [NETD-BPF#19] Mainline part of bpf code from netd 2022-01-30 09:51:25 +08:00