diff options
author | Willem de Bruijn <willemb@google.com> | 2019-04-23 14:43:48 -0400 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-04-24 01:32:26 +0200 |
commit | 1b00e0dfe7d08a17d818c34d4c9968047a3f3e4b (patch) | |
tree | 5f8271f622c43b9ad32530d484dfdb28cf65297d /tools/testing/selftests | |
parent | Merge branch 'bpf-eth-get-headlen' (diff) | |
download | linux-dev-1b00e0dfe7d08a17d818c34d4c9968047a3f3e4b.tar.xz linux-dev-1b00e0dfe7d08a17d818c34d4c9968047a3f3e4b.zip |
bpf: update skb->protocol in bpf_skb_net_grow
Some tunnels, like sit, change the network protocol of packet.
If so, update skb->protocol to match the new type.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests')
0 files changed, 0 insertions, 0 deletions