[NETFILTER]: ip_tables: move compat offset calculation to x_tables
[powerpc.git] / net / ipv4 / netfilter / nf_nat_amanda.c
index 35a5aa6..c31b876 100644 (file)
@@ -69,7 +69,7 @@ static void __exit nf_nat_amanda_fini(void)
 
 static int __init nf_nat_amanda_init(void)
 {
-       BUG_ON(rcu_dereference(nf_nat_amanda_hook));
+       BUG_ON(nf_nat_amanda_hook != NULL);
        rcu_assign_pointer(nf_nat_amanda_hook, help);
        return 0;
 }