From: Michael S. Tsirkin on
tun module already support RX filtering, however,
this is limited to filtering by mac address.
For virtio host, we also need filtering by vlan.

Rather than adding this directly, it seems cleaner
to add generic socket filter support.



Michael S. Tsirkin (2):
net: export attach/detach filter routines
tun: socket filter support

drivers/net/tun.c | 26 ++++++++++++++++++++++++++
include/linux/if_tun.h | 3 +++
net/core/filter.c | 2 ++
3 files changed, 31 insertions(+), 0 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/