]> err.no Git - linux-2.6/blobdiff - net/netfilter/nf_log.c
[PATCH] fix send_sigqueue() vs thread exit race
[linux-2.6] / net / netfilter / nf_log.c
index 573e76a770d95e2858e0da28ebc555aca9b2f979..3e76bd0824a25b7c31e60ea4a5d59e27745f12fc 100644 (file)
@@ -167,12 +167,12 @@ int __init netfilter_log_init(void)
 {
 #ifdef CONFIG_PROC_FS
        struct proc_dir_entry *pde;
+
        pde = create_proc_entry("nf_log", S_IRUGO, proc_net_netfilter);
-#endif
        if (!pde)
                return -1;
 
        pde->proc_fops = &nflog_file_ops;
-
+#endif
        return 0;
 }