summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte2005-08-10 05:23:53 +0200
committerDavid S. Miller2005-08-30 00:51:25 +0200
commit8a61fadb3908454ccfa538aaa75eb1d22def5700 (patch)
treee3e2b131c03b3cab2f81e6cdeeaadf50071046b9 /include
parent[NETFILTER]: more verbose return codes from nf_{log,queue} (diff)
downloadkernel-qcow2-linux-8a61fadb3908454ccfa538aaa75eb1d22def5700.tar.gz
kernel-qcow2-linux-8a61fadb3908454ccfa538aaa75eb1d22def5700.tar.xz
kernel-qcow2-linux-8a61fadb3908454ccfa538aaa75eb1d22def5700.zip
[NETFILTER]: check nf_log function call arguments
Check whether pf is too large in order to prevent array overflow. Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index bf430fcbe364..ac3c61411d4b 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -157,7 +157,7 @@ struct nf_logger {
/* Function to register/unregister log function. */
int nf_log_register(int pf, struct nf_logger *logger);
-void nf_log_unregister_pf(int pf);
+int nf_log_unregister_pf(int pf);
void nf_log_unregister_logger(struct nf_logger *logger);
/* Calls the registered backend logging function */