netfilter: nf_conntrack: consolidate lock/unlock into unlock_wait
authorNicholas Mc Guire <hofrat@osadl.org>
Mon, 14 Mar 2016 11:39:02 +0000 (12:39 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 15 Mar 2016 00:10:42 +0000 (01:10 +0100)
commite39365be031e37b229f745ea49db0b25e82436fa
treeed52dc92bccaca86e0aeb003d22f56b1476bba11
parent05752523e56502cd9975aec0a2ded465d51a71f3
netfilter: nf_conntrack: consolidate lock/unlock into unlock_wait

The spin_lock()/spin_unlock() is synchronizing on the
nf_conntrack_locks_all_lock which is equivalent to
spin_unlock_wait() but the later should be more efficient.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_core.c