From: Patrick McHardy Date: Sat, 4 Feb 2006 10:14:51 +0000 (-0800) Subject: [NETFILTER]: Fix missing src port initialization in tftp expectation mask X-Git-Tag: v2.6.16-rc3~146^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=6f169300787ddb07326cc0338434a162dbab8539;p=linux-2.6-omap-h63xx.git [NETFILTER]: Fix missing src port initialization in tftp expectation mask Reported by David Ahern , netfilter bugzilla #426. Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/ipv4/netfilter/ip_conntrack_tftp.c b/net/ipv4/netfilter/ip_conntrack_tftp.c index d3c5a371f99..4ba4463cec2 100644 --- a/net/ipv4/netfilter/ip_conntrack_tftp.c +++ b/net/ipv4/netfilter/ip_conntrack_tftp.c @@ -71,6 +71,7 @@ static int tftp_help(struct sk_buff **pskb, exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; exp->mask.src.ip = 0xffffffff; + exp->mask.src.u.udp.port = 0; exp->mask.dst.ip = 0xffffffff; exp->mask.dst.u.udp.port = 0xffff; exp->mask.dst.protonum = 0xff;