aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/netfilter/ebtable_nat.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--net/bridge/netfilter/ebtable_nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebtable_nat.c b/net/bridge/netfilter/ebtable_nat.c
index bc712730c54a..5b495fe2d0b6 100644
--- a/net/bridge/netfilter/ebtable_nat.c
+++ b/net/bridge/netfilter/ebtable_nat.c
@@ -55,7 +55,7 @@ static struct ebt_table frame_nat =
.name = "nat",
.table = &initial_table,
.valid_hooks = NAT_VALID_HOOKS,
- .lock = RW_LOCK_UNLOCKED,
+ .lock = __RW_LOCK_UNLOCKED(frame_nat.lock),
.check = check,
.me = THIS_MODULE,
};