diff options
author | Thomas Huth <thuth@redhat.com> | 2015-10-13 12:40:01 +0200 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2015-10-27 10:30:35 +0800 |
commit | 9d3e12e881bc97bc32ac75d146b5347136f29ca1 (patch) | |
tree | e3a61b854cb71d10b2cdf99b5380adc8c291ff53 /vl.c | |
parent | 75310e3486ab205d870560b75bbcaba72acb26d7 (diff) |
net/dump: Provide the dumping facility as a net-filter
Use the net-filter infrastructure to provide the dumping
functions for netdev devices, too.
Reviewed-by: Yang Hongyang <yanghy@cn.fujitsu.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2769,7 +2769,12 @@ static bool object_create_initial(const char *type) return false; } - if (g_str_equal(type, "filter-buffer")) { + /* + * return false for concrete netfilters since + * they depend on netdevs already existing + */ + if (g_str_equal(type, "filter-buffer") || + g_str_equal(type, "filter-dump")) { return false; } |