On 4/23/19 11:43 AM, Willem de Bruijn wrote: > From: Willem de Bruijn <will...@google.com> > > So far, all BPF tc tunnel testcases encapsulate in the same network > protocol. Add an encap testcase that requires updating skb->protocol. > > The 6in4 tunnel encapsulates an IPv6 packet inside an IPv4 tunnel. > Verify that bpf_skb_net_grow correctly updates skb->protocol to > select the right protocol handler in __netif_receive_skb_core. > > The BPF program should also manually update the link layer header to > encode the right network protocol. > > Changes v1->v2 > - improve documentation of non-obvious logic > > Signed-off-by: Willem de Bruijn <will...@google.com> > Tested-by: Alan Maguire <alan.magu...@oracle.com>
Acked-by: Yonghong Song <y...@fb.com>