[NETFILTER]: x_tables: change xt_table_register() return value convention
[powerpc.git] / net / ipv4 / netfilter / nf_nat_tftp.c
index 0ecec70..1360a94 100644 (file)
@@ -43,7 +43,7 @@ static void __exit nf_nat_tftp_fini(void)
 
 static int __init nf_nat_tftp_init(void)
 {
-       BUG_ON(rcu_dereference(nf_nat_tftp_hook));
+       BUG_ON(nf_nat_tftp_hook != NULL);
        rcu_assign_pointer(nf_nat_tftp_hook, help);
        return 0;
 }