summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/LinkPropertiesTest.java
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2022-05-16 16:05:15 -0700
committerMaciej Żenczykowski <maze@google.com>2022-05-19 11:46:51 +0000
commitfa61d49a99e33417a0ed82b43912afa3e98c13bf (patch)
treec7eed7e7029fa0c81ab8d8de18f792c6b5c8817f /tests/common/java/android/net/LinkPropertiesTest.java
parenta52aca70eed31141c4f5b389cb896cdada6e0f12 (diff)
add proper minimum bpfloader version annotations for block/clatd/dscp_policy/netd
In practice this doesn't actually really matter, since older versions of the bpfloader won't even look in the relevant directories: BpfLoader v0.9 is the first one that looks into '/apex/com.android.tethering/etc/bpf/net_shared', but it is only v0.12 that pins the resulting programs and maps correctly into /sys/fs/bpf/net_shared/ hence the annotations for block/clatd/dscp_policy. BpfLoader v0.13 is the first one that looks into '/apex/com.android.tethering/etc/bpf/netd_shared' subdirectory and pins into /sys/fs/bpf/netd_shared/ hence the annotation for netd. But it's best to explicitly document the intent. Note that in practice the mainline module will fail spectacularly on a T OS if it can't find the programs and maps (presumably due to the bpfloader being too old) but will work on S even though the bpfloader there is much older, because these programs/maps are not required on pre-T OS. This change is thus really only documentation. Bug: 218408035 Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I5ffa2faf83ca337b84e34b01df84436629989c58 (cherry picked from commit acebffb966ddfedbc9e2a73f47940fefbdfeed73) Merged-In: I5ffa2faf83ca337b84e34b01df84436629989c58
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions