aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2005-08-09 20:23:53 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 15:51:25 -0700
commit8a61fadb3908454ccfa538aaa75eb1d22def5700 (patch)
treee3e2b131c03b3cab2f81e6cdeeaadf50071046b9 /include
parentd72367b6f36e557f122beefaa8c6b80eb1c7f245 (diff)
downloadkernel_goldelico_gta04-8a61fadb3908454ccfa538aaa75eb1d22def5700.zip
kernel_goldelico_gta04-8a61fadb3908454ccfa538aaa75eb1d22def5700.tar.gz
kernel_goldelico_gta04-8a61fadb3908454ccfa538aaa75eb1d22def5700.tar.bz2
[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 bf430fc..ac3c614 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 */