]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit02502f6224ba7735182a83e2a6b4cd5e69278d6d
tree96f25303012356e1a0b6739a779675bf71dc3e49
parent4d354c5782dc352cec187845d17eedc2c2bfcf67
[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