]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: nf_nat: switch rwlock to spinlock
authorPatrick McHardy <kaber@trash.net>
Thu, 31 Jan 2008 12:43:06 +0000 (04:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:28:00 +0000 (19:28 -0800)
commitdf7c18f1fdf4bfad2240291d90f9f65518c0fc6f
tree96f25303012356e1a0b6739a779675bf71dc3e49
parent44b1a4db62f87133b4900f32a02f5188f44b1d50
[NETFILTER]: nf_nat: switch rwlock to spinlock

Since we're using RCU, all users of nf_nat_lock take a write_lock.
Switch it to a spinlock.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_nat_core.c