diff options
author | 2020-04-20 11:34:08 -0700 | |
---|---|---|
committer | 2020-04-26 09:00:50 -0700 | |
commit | 6f3f65d80dac8f2bafce2213005821fccdce194c (patch) | |
tree | 84e4007084a04076e2386d939cc07c915d37b231 /kernel | |
parent | bpf: Fix missing bpf_base_func_proto in cgroup_base_func_proto for CGROUP_NET=n (diff) | |
download | wireguard-linux-6f3f65d80dac8f2bafce2213005821fccdce194c.tar.xz wireguard-linux-6f3f65d80dac8f2bafce2213005821fccdce194c.zip |
net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head
This allows TC eBPF programs to modify and forward (redirect) packets
from interfaces without ethernet headers (for example cellular)
to interfaces with (for example ethernet/wifi).
The lack of this appears to simply be an oversight.
Tested:
in active use in Android R on 4.14+ devices for ipv6
cellular to wifi tethering offload.
Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions