commit | fb3e6e9307973d2f70a173f1b33d1054fa2b691f | [log] [tgz] |
---|---|---|
author | Jesper Dangaard Brouer <brouer@redhat.com> | Thu May 14 12:50:34 2020 +0200 |
committer | Alexei Starovoitov <ast@kernel.org> | Thu May 14 21:21:55 2020 -0700 |
tree | 32bcb2a25ff637e86999d7b7931f6aeb2557f801 | |
parent | fa6540b8efd8944f8627c2f304114663ef4aadc4 [diff] |
tun: Add XDP frame size The tun driver have two code paths for running XDP (bpf_prog_run_xdp). In both cases 'buflen' contains enough tailroom for skb_shared_info. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/bpf/158945343419.97035.9594485183958037621.stgit@firesoul