netfilter: nfnetlink: add mutex per subsystem
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 5 Feb 2013 00:50:26 +0000 (01:50 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 5 Feb 2013 03:07:35 +0000 (04:07 +0100)
commitc14b78e7decd0d1d5add6a4604feb8609fe920a9
tree820b4a0a2f3702581452e05d53d44097cb240d81
parent5474f57f7d686ac918355419cb71496f835aaf5d
netfilter: nfnetlink: add mutex per subsystem

This patch replaces the global lock to one lock per subsystem.
The per-subsystem lock avoids that processes operating
with different subsystems are synchronized.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/linux/netfilter/nfnetlink.h
net/netfilter/ipset/ip_set_core.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nfnetlink.c