aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter
diff options
context:
space:
mode:
authorFernando Fernandez Mancera <ffmancera@riseup.net>2018-07-31 20:25:00 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-03 18:38:29 +0200
commit7cca1ed0bb248b8d5768d17f5afe297a832d66c0 (patch)
tree5395796dc2143ce9efd342f7f5053dfd6bab60b7 /include/linux/netfilter
parentnetfilter: use kvmalloc_array to allocate memory for hashtable (diff)
downloadlinux-dev-7cca1ed0bb248b8d5768d17f5afe297a832d66c0.tar.xz
linux-dev-7cca1ed0bb248b8d5768d17f5afe297a832d66c0.zip
netfilter: nf_osf: move nf_osf_fingers to non-uapi header file
All warnings (new ones prefixed by >>): >> ./usr/include/linux/netfilter/nf_osf.h:73: userspace cannot reference function or variable defined in the kernel Fixes: f9324952088f ("netfilter: nfnetlink_osf: extract nfnetlink_subsystem code from xt_osf.c") Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/netfilter')
-rw-r--r--include/linux/netfilter/nf_osf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netfilter/nf_osf.h b/include/linux/netfilter/nf_osf.h
index aee460fcbd31..3e455d6f94d5 100644
--- a/include/linux/netfilter/nf_osf.h
+++ b/include/linux/netfilter/nf_osf.h
@@ -25,6 +25,8 @@ enum osf_fmatch_states {
FMATCH_OPT_WRONG,
};
+extern struct list_head nf_osf_fingers[2];
+
struct nf_osf_finger {
struct rcu_head rcu_head;
struct list_head finger_entry;