virtio_net: reject XDP programs using header adjustment
commit 17bedab2 ("bpf: xdp: Allow head adjustment in XDP prog") added a new XDP helper to prepend and remove data from a frame. Make virtio_net reject programs making use of this helper until proper support is added. Signed-off-by: NJakub Kicinski <jakub.kicinski@netronome.com> Acked-by: NJohn Fastabend <john.r.fastabend@intel.com> Acked-by: NJason Wang <jasowang@redhat.com> Acked-by: NMichael S. Tsirkin <mst@redhat.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录