Re: [PATCH] net: bpf: Allow TC programs to call BPF_FUNC_skb_change_head

From: Alexei Starovoitov
Date: Sun Apr 26 2020 - 12:03:06 EST


On Mon, Apr 20, 2020 at 11:34 AM Maciej Åenczykowski
<zenczykowski@xxxxxxxxx> wrote:
>
> From: Lorenzo Colitti <lorenzo@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Maciej Åenczykowski <maze@xxxxxxxxxx>

Applied. Thanks