commit | aff3d70a07fffc0abb53663e4a4acb059d2f36af | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Tue Jan 16 16:31:02 2018 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 17 15:32:10 2018 -0500 |
tree | 6274d9253d5cd93105e5759e616212876ceb2ec9 | |
parent | cd5681d7d8903bf43a571aaf96cf6d2e2e00118c [diff] |
tun: allow to attach ebpf socket filter This patch allows userspace to attach eBPF filter to tun. This will allow to implement VM dataplane filtering in a more efficient way compared to cBPF filter by allowing either qemu or libvirt to attach eBPF filter to tun. Signed-off-by: Jason Wang <jasowang@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>