diff options
author | Florian Westphal <fw@strlen.de> | 2009-06-05 13:26:21 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-06-05 13:26:21 +0200 |
commit | 17f2f52be0edb6d1ff5a3675f2bc545aea2dbf76 (patch) | |
tree | 50c1e9cb16c43c23525eccded67615f009bd691e /include/net | |
parent | 10662aa3083f869c645cc2abf5d66849001e2f5d (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')
0 files changed, 0 insertions, 0 deletions