]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: ipset: Prepare the ipset core to use RCU at set level
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sat, 13 Jun 2015 12:22:25 +0000 (14:22 +0200)
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Sun, 14 Jun 2015 08:40:16 +0000 (10:40 +0200)
commitd7813c0e04797a40ee306ecbe44c17bfea1e2998
tree29c8403d928df097c8b8850aea065168195ad22f
parentf63abc0dc14f38918e499df25c1925bb60302570
netfilter: ipset: Prepare the ipset core to use RCU at set level

Replace rwlock_t with spinlock_t in "struct ip_set" and change the locking
accordingly. Convert the comment extension into an rcu-avare object. Also,
simplify the timeout routines.

Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
include/linux/netfilter/ipset/ip_set.h
include/linux/netfilter/ipset/ip_set_comment.h
include/linux/netfilter/ipset/ip_set_timeout.h
net/netfilter/ipset/ip_set_core.c