qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: zhanghailiang <zhang.zhanghailiang@huawei.com>
To: qemu-devel@nongnu.org
Cc: zhanghailiang <zhang.zhanghailiang@huawei.com>,
	jasowang@redhat.com, dgilbert@redhat.com,
	zhangchen.fnst@cn.fujitsu.com, hongyang.yang@easystack.cn
Subject: [Qemu-devel] [PATCH v4 0/4] Netfilter: Add each netdev a default filter
Date: Fri, 5 Feb 2016 10:47:00 +0800	[thread overview]
Message-ID: <1454640424-12612-1-git-send-email-zhang.zhanghailiang@huawei.com> (raw)

This series is a prerequisite for COLO, here we add each netdev
a default buffer filter, it is disabled by default, and has
no side effect for delivering packets in net layer.

ChangeLog:
v4:
 - Rename helper netdev_add_filter() to netdev_add_default_filter()
   and drop the is_default parameter (HongYang)
 - Rename DEFAULT_FILTER_TYPE to DEFAULT_FILTER_ID

v3:
 - Drop patch '[PATCH RFC v2 2/5] vl: Make object_create() public'
 - Use object_new_with_props() instead of object_create() (Daniel)
v2:
 - Drop the patch net/filter: prevent the default filter to be deleted' (Jason)
 - Re-implement netdev_add_filter() by re-using object_object() (Jason)
 - Send patch 'net/filter: Fix the output information for command 'info
   network' as an independent one. (Jason)

zhanghailiang (4):
  net/filter: Add a 'status' property for filter object
  net/filter: Introduce a helper to add a filter to the netdev
  filter-buffer: Accept zero interval
  net/filter: Add a default filter to each netdev

 include/net/filter.h | 11 +++++++
 net/filter-buffer.c  | 10 ------
 net/filter.c         | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 net/net.c            | 22 ++++++++++++++
 4 files changed, 119 insertions(+), 10 deletions(-)

-- 
1.8.3.1

             reply	other threads:[~2016-02-05  2:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05  2:47 zhanghailiang [this message]
2016-02-05  2:47 ` [Qemu-devel] [PATCH v4 1/4] net/filter: Add a 'status' property for filter object zhanghailiang
2016-02-05  2:47 ` [Qemu-devel] [PATCH v4 2/4] net/filter: Introduce a helper to add a filter to the netdev zhanghailiang
2016-02-05  2:47 ` [Qemu-devel] [PATCH v4 3/4] filter-buffer: Accept zero interval zhanghailiang
2016-02-05  2:47 ` [Qemu-devel] [PATCH v4 4/4] net/filter: Add a default filter to each netdev zhanghailiang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1454640424-12612-1-git-send-email-zhang.zhanghailiang@huawei.com \
    --to=zhang.zhanghailiang@huawei.com \
    --cc=dgilbert@redhat.com \
    --cc=hongyang.yang@easystack.cn \
    --cc=jasowang@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=zhangchen.fnst@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).