commit | 005edd16562b78f416e2f576a64789c90d96882f | [log] [tgz] |
---|---|---|
author | Willem de Bruijn <willemb@google.com> | Fri Mar 22 14:32:58 2019 -0400 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Mar 22 13:52:45 2019 -0700 |
tree | ae38689ac20f4f963741428327536efc34fa8393 | |
parent | 6c408decbdc8a12a12a93c4d763cbc2a264f9332 [diff] |
selftests/bpf: convert bpf tunnel test to BPF_ADJ_ROOM_MAC Avoid moving the network layer header when prefixing tunnel headers. This avoids an explicit call to bpf_skb_store_bytes and an implicit move of the network header bytes in bpf_skb_adjust_room. Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>