diff options
author | Maciej Żenczykowski <maze@google.com> | 2020-02-19 01:24:39 -0800 |
---|---|---|
committer | Maciej Żenczykowski <maze@google.com> | 2020-02-19 10:44:54 +0000 |
commit | 34d4361604a0de338220a7c02ed1991a29823e57 (patch) | |
tree | 9e3f3e73bf4e877fe9af53b1039416daae35f69b /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 91bb789c2084b7b36f958209a4fd9987078c5235 (diff) |
Reduce advertised ipv6 mtu by 16 to fit ethernet header
This is a temporary hack to workaround the inability of current
kernel's ebpf bpf_skb_change_mode() function to prefix a 14-byte
ethernet header on to a packet without going over the upstream
(source, rawip) interface's mtu *before* we bpf_redirect() to
the downstream (destination, ethernet) interface.
Test: build, atest, atest TetheringTests
Bug: 149816401
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I646148ebfd978a2489c0cd065e4b671b01150add
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions