projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec8f237
)
netfilter: update rwlock initialization for nat_table
author
Steven Rostedt
<
[email protected]
>
Mon, 15 Dec 2008 08:19:14 +0000
(
00:19
-0800)
committer
David S. Miller
<
[email protected]
>
Mon, 15 Dec 2008 08:19:14 +0000
(
00:19
-0800)
The commit
e099a173573ce1ba171092aee7bb3c72ea686e59
(netfilter: netns nat: per-netns NAT table) renamed the
nat_table from __nat_table to nat_table without updating the
__RW_LOCK_UNLOCKED(__nat_table.lock).
Signed-off-by: Steven Rostedt <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/netfilter/nf_nat_rule.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/nf_nat_rule.c
b/net/ipv4/netfilter/nf_nat_rule.c
index bea54a685109ed3b6fa1fe3f621fb7522ceb2de8..8d489e746b21cb513d0d1b49b3984b514f6e634c 100644
(file)
--- a/
net/ipv4/netfilter/nf_nat_rule.c
+++ b/
net/ipv4/netfilter/nf_nat_rule.c
@@
-61,7
+61,7
@@
static struct
static struct xt_table nat_table = {
.name = "nat",
.valid_hooks = NAT_VALID_HOOKS,
- .lock = __RW_LOCK_UNLOCKED(
__
nat_table.lock),
+ .lock = __RW_LOCK_UNLOCKED(nat_table.lock),
.me = THIS_MODULE,
.af = AF_INET,
};