[NETFILTER]: Use non-deprecated __RW_LOCK_UNLOCKED macro
[safe/jmp/linux-2.6] / net / ipv6 / netfilter / ip6table_mangle.c
index 035343a..27a5e8b 100644 (file)
@@ -60,7 +60,7 @@ static struct
 static struct xt_table packet_mangler = {
        .name           = "mangle",
        .valid_hooks    = MANGLE_VALID_HOOKS,
-       .lock           = RW_LOCK_UNLOCKED,
+       .lock           = __RW_LOCK_UNLOCKED(packet_mangler.lock),
        .me             = THIS_MODULE,
        .af             = AF_INET6,
 };