aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2006-01-05 12:19:46 -0800
committerDavid S. Miller <davem@davemloft.net>2006-01-05 12:19:46 -0800
commite7be6994ec68c38d8e23e647eac649b280c4fe5a (patch)
treeb0ebac3839ce33579cbf3aa0965e1c0beecdb794 /net/netfilter
parent87711cb81c33e75fe8c95137fe62c8d462ff781c (diff)
downloadkernel_samsung_espresso10-e7be6994ec68c38d8e23e647eac649b280c4fe5a.zip
kernel_samsung_espresso10-e7be6994ec68c38d8e23e647eac649b280c4fe5a.tar.gz
kernel_samsung_espresso10-e7be6994ec68c38d8e23e647eac649b280c4fe5a.tar.bz2
[NETFILTER]: Fix module_param types and permissions
Fix netfilter module_param types and permissions. Also fix an off-by-one in the ipt_ULOG nlbufsiz < 128k check. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/nf_conntrack_ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_ftp.c b/net/netfilter/nf_conntrack_ftp.c
index 65080e2..d5a6eaf 100644
--- a/net/netfilter/nf_conntrack_ftp.c
+++ b/net/netfilter/nf_conntrack_ftp.c
@@ -44,7 +44,7 @@ static unsigned int ports_c;
module_param_array(ports, ushort, &ports_c, 0400);
static int loose;
-module_param(loose, int, 0600);
+module_param(loose, bool, 0600);
unsigned int (*nf_nat_ftp_hook)(struct sk_buff **pskb,
enum ip_conntrack_info ctinfo,