]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[NETFILTER]: bridge netfilter: use non-deprecated __RW_LOCK_UNLOCKED macro.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Mon, 14 Apr 2008 07:56:03 +0000 (09:56 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 07:56:03 +0000 (09:56 +0200)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/bridge/netfilter/ebtable_broute.c
net/bridge/netfilter/ebtable_filter.c
net/bridge/netfilter/ebtable_nat.c

index be6f18681053174667c6e7a2abcb4c79afe7c622..246626bb0c879db5f62786b53c992d48e939f188 100644 (file)
@@ -46,7 +46,7 @@ static struct ebt_table broute_table =
        .name           = "broute",
        .table          = &initial_table,
        .valid_hooks    = 1 << NF_BR_BROUTING,
-       .lock           = RW_LOCK_UNLOCKED,
+       .lock           = __RW_LOCK_UNLOCKED(broute_table.lock),
        .check          = check,
        .me             = THIS_MODULE,
 };
index fb810908732f6b420de1ada658915fa80463ae8e..690bc3ab186c67cee4ba7844bc19b32ba2c2aafb 100644 (file)
@@ -55,7 +55,7 @@ static struct ebt_table frame_filter =
        .name           = "filter",
        .table          = &initial_table,
        .valid_hooks    = FILTER_VALID_HOOKS,
-       .lock           = RW_LOCK_UNLOCKED,
+       .lock           = __RW_LOCK_UNLOCKED(frame_filter.lock),
        .check          = check,
        .me             = THIS_MODULE,
 };
index bc712730c54a96925bbe1558ce5b261d69f6f473..5b495fe2d0b6bb6326d583766c28af7ff272ff93 100644 (file)
@@ -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,
 };