Hi, On Tue, 17 Sep 2013, V. Lavrov wrote: > This patch adds netns support for ipset. > > Major changes were made in ip_set_core.c and ip_set.h.Added the initialization > and > destruction of the network namespace for 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_xxx. > > The patch was developed for the kernel 3.10.10 (ipset not changed in .11 and > .12). The patch looks OK, however please rebase it using the ipset git tree. There was a couple of changes and your patch cannot be applied. I'll work on to solve the backward incompatibility with the supported kernel version where there was no netns at all. Best regards, Jozsef > Signed-off-by: Vitaly Lavrov <lve@xxxxxxx> > -- > include/linux/netfilter/ipset/ip_set.h | 16 +-- > net/netfilter/ipset/ip_set_bitmap_ip.c | 3 +- > net/netfilter/ipset/ip_set_bitmap_ipmac.c | 2 +- > net/netfilter/ipset/ip_set_bitmap_port.c | 3 +- > net/netfilter/ipset/ip_set_core.c | 282 > ++++++++++++++++++++++++++++++---------------- > net/netfilter/ipset/ip_set_hash_gen.h | 3 +- > net/netfilter/ipset/ip_set_list_set.c | 26 +++-- > net/netfilter/xt_set.c | 40 +++---- > net/sched/em_ipset.c | 7 +- > 9 files changed, 238 insertions(+), 144 deletions(-) > > > - E-mail : kadlec@xxxxxxxxxxxxxxxxx, kadlecsik.jozsef@xxxxxxxxxxxxx PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences H-1525 Budapest 114, POB. 49, Hungary -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html