]> git.ipfire.org Git - thirdparty/ipset.git/commit
ipset: Add net namespace for ipset
authorVitaly Lavrov <lve@guap.ru>
Sat, 28 Sep 2013 16:41:20 +0000 (18:41 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 28 Sep 2013 16:41:20 +0000 (18:41 +0200)
commitbac86fe6e7b14dce5f972fcf7913c6747b81953c
tree514dd2ff0b11fe9d6e3dec97841800c519bddac2
parentdef57acbe5806439898f22237a3917c56095766e
ipset: Add net namespace for ipset

This patch adds netns support for ipset.

Major changes were made in ip_set_core.c and ip_set.h.
Global variables are moved to per net namespace.
Added initialization code and the destruction of the network namespace ipset subsystem.
In the prototypes of public functions ip_set_* added parameter "struct net*".

The remaining corrections related to the change prototypes of public functions ip_set_*.

The patch for git://git.netfilter.org/ipset.git commit 6a4ec96c0b8caac5c35474e40e319704d92ca347

Signed-off-by: Vitaly Lavrov <lve@guap.ru>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
kernel/include/linux/netfilter/ipset/ip_set.h
kernel/net/netfilter/ipset/ip_set_bitmap_ip.c
kernel/net/netfilter/ipset/ip_set_bitmap_ipmac.c
kernel/net/netfilter/ipset/ip_set_bitmap_port.c
kernel/net/netfilter/ipset/ip_set_core.c
kernel/net/netfilter/ipset/ip_set_hash_gen.h
kernel/net/netfilter/ipset/ip_set_list_set.c
kernel/net/netfilter/xt_set.c
kernel/net/sched/em_ipset.c