]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] ip_conntrack: fix ftp/irc/tftp helpers on ports >= 32768
authorHarald Welte <laforge@netfilter.org>
Tue, 15 Nov 2005 12:32:36 +0000 (13:32 +0100)
committerChris Wright <chrisw@osdl.org>
Thu, 24 Nov 2005 22:10:11 +0000 (14:10 -0800)
commitebf1bbfda5eaf2f1124328941ae4869e63315a00
treee2b68616bae21df4404dead9d1c24143b166cbff
parent1369d380d305a9d883e878af958c4c9a0ea5b174
[PATCH] ip_conntrack: fix ftp/irc/tftp helpers on ports >= 32768

Since we've converted the ftp/irc/tftp helpers to use the new
module_parm_array() some time ago, we ware accidentially using signed data
types - thus preventing those modules from being used on ports >= 32768.

This patch fixes it by using 'ushort' module parameters.

Thanks to Jan Nijs for reporting this bug.

Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/netfilter/ip_conntrack_ftp.c
net/ipv4/netfilter/ip_conntrack_irc.c
net/ipv4/netfilter/ip_conntrack_tftp.c