aboutsummaryrefslogtreecommitdiff
path: root/include/net/netfilter
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2009-06-05 13:26:21 +0200
committerPatrick McHardy <kaber@trash.net>2009-06-05 13:26:21 +0200
commit17f2f52be0edb6d1ff5a3675f2bc545aea2dbf76 (patch)
tree50c1e9cb16c43c23525eccded67615f009bd691e /include/net/netfilter
parent10662aa3083f869c645cc2abf5d66849001e2f5d (diff)
netfilter: ipt_MASQUERADE: remove redundant rwlock
The lock "protects" an assignment and a comparision of an integer. When the caller of device_cmp() evaluates the result, nat->masq_index may already have been changed (regardless if the lock is there or not). So, the lock either has to be held during nf_ct_iterate_cleanup(), or can be removed. This does the latter. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/net/netfilter')
0 files changed, 0 insertions, 0 deletions