]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
netfilter: ctnetlink: remove incorrect spin_[un]lock_bh on NAT module autoload
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 6 Mar 2012 01:22:51 +0000 (01:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Mar 2012 19:43:49 +0000 (14:43 -0500)
commit8be619d1e430fd87a02587a2a6830b692cb91b84
tree580ca289a8e79a18dc8140e2077d67d29bebcae5
parent848edc69192a38bf9d261032f248b14f47e6af8b
netfilter: ctnetlink: remove incorrect spin_[un]lock_bh on NAT module autoload

Since 7d367e0, ctnetlink_new_conntrack is called without holding
the nf_conntrack_lock spinlock. Thus, ctnetlink_parse_nat_setup
does not require to release that spinlock anymore in the NAT module
autoload case.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_netlink.c