summaryrefslogtreecommitdiffstats
path: root/unmaintained/ipt-netflow-grsec/0001-Fix-compilation-with-3.10.y-kernel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ipt-netflow-grsec/0001-Fix-compilation-with-3.10.y-kernel.patch')
-rw-r--r--unmaintained/ipt-netflow-grsec/0001-Fix-compilation-with-3.10.y-kernel.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/unmaintained/ipt-netflow-grsec/0001-Fix-compilation-with-3.10.y-kernel.patch b/unmaintained/ipt-netflow-grsec/0001-Fix-compilation-with-3.10.y-kernel.patch
deleted file mode 100644
index 99ebffe38..000000000
--- a/unmaintained/ipt-netflow-grsec/0001-Fix-compilation-with-3.10.y-kernel.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From b1588f736edbeeb2b3de6081e92dde8840cef66d Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Mon, 5 Aug 2013 12:56:19 +0000
-Subject: [PATCH] Fix compilation with 3.10.y kernel
-
-use proc_create instead of create_proc_entry
----
- ipt_NETFLOW.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/ipt_NETFLOW.c b/ipt_NETFLOW.c
-index 4e1b9f3..758bccc 100644
---- a/ipt_NETFLOW.c
-+++ b/ipt_NETFLOW.c
-@@ -1432,12 +1432,12 @@ static int __init ipt_netflow_init(void)
- }
-
- #ifdef CONFIG_PROC_FS
-- proc_stat = create_proc_entry("ipt_netflow", S_IRUGO, INIT_NET(proc_net_stat));
-+ proc_stat = proc_create("ipt_netflow", S_IRUGO, INIT_NET(proc_net_stat),
-+ &nf_seq_fops);
- if (!proc_stat) {
- printk(KERN_ERR "Unable to create /proc/net/stat/ipt_netflow entry\n");
- goto err_free_netflow_slab;
- }
-- proc_stat->proc_fops = &nf_seq_fops;
- #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
- proc_stat->owner = THIS_MODULE;
- #endif
---
-1.8.3.4
-