summaryrefslogtreecommitdiff
path: root/net/ipv4/netfilter/nf_nat_core.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-02-12 19:12:09 (GMT)
committerDavid S. Miller <davem@davemloft.net>2007-02-12 19:12:09 (GMT)
commita441dfdbb2e54217b8d26a6c129650728d401bf7 (patch)
tree49811d9e97eaaee1b10a66a6b5798f2bccc05d39 /net/ipv4/netfilter/nf_nat_core.c
parente92ad99c78de09a5ba0746e1c0ee27cc7450c64d (diff)
downloadlinux-fsl-qoriq-a441dfdbb2e54217b8d26a6c129650728d401bf7.tar.xz
[NETFILTER]: ip_nat: properly use RCU API for ip_nat_protos array
Replace preempt_{enable,disable} based RCU by proper use of the RCU API and add missing rcu_read_lock/rcu_read_unlock calls in paths used outside of packet processing context (nfnetlink_conntrack). Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/netfilter/nf_nat_core.c')
0 files changed, 0 insertions, 0 deletions