[lkml]   [2018]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH net-next V2 0/2] tun: allow to attahc eBPF filter
Hi all:

This series tries to implement eBPF socket filter for tun. This could
be used for implementing efficient virtio-net receive filter for


Changes from V1:
- trim more bytes if vlan tag is existed to make sure the packet
length does not exceed what is allowed by the filter.

Jason Wang (2):
tuntap: rename struct tun_steering_prog to struct tun_prog
tun: allow to attach ebpf socket filter

drivers/net/tun.c | 71 ++++++++++++++++++++++++++++++++-------------
include/uapi/linux/if_tun.h | 1 +
2 files changed, 52 insertions(+), 20 deletions(-)


 \ /
  Last update: 2018-01-05 04:55    [W:0.050 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site