On Thu, Mar 4, 2021 at 1:41 AM Xuesen Huang <hxseveryth...@gmail.com> wrote:
>
> From: Xuesen Huang <huangxue...@kuaishou.com>
>
> bpf_skb_adjust_room sets the inner_protocol as skb->protocol for packets
> encapsulation. But that is not appropriate when pushing Ethernet header.
>
> Add an option to further specify encap L2 type and set the inner_protocol
> as ETH_P_TEB.
>
> Suggested-by: Willem de Bruijn <will...@google.com>
> Signed-off-by: Xuesen Huang <huangxue...@kuaishou.com>
> Signed-off-by: Zhiyong Cheng <chengzhiy...@kuaishou.com>
> Signed-off-by: Li Wang <wangl...@kuaishou.com>

Acked-by: Willem de Bruijn <will...@google.com>

Reply via email to