netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tun: linux socket filter support
@ 2010-02-14 11:00 Michael S. Tsirkin
  0 siblings, 0 replies; 3+ messages in thread
From: Michael S. Tsirkin @ 2010-02-14 11:00 UTC (permalink / raw)
  To: David S. Miller, Herbert Xu, Michael S. Tsirkin, Paul Moore,
	David Woodhouse <David.Woodh

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(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-02-18  0:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20100214110051.GA30182@redhat.com>
2010-02-15 15:47 ` [PATCH 0/2] tun: linux socket filter support Arnd Bergmann
2010-02-18  0:35 ` David Miller
2010-02-14 11:00 Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).