Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[NETFILTER]: Fix missing src port initialization in tftp expectation mask

Reported by David Ahern <dahern@avaya.com>, netfilter bugzilla #426.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Patrick McHardy and committed by
David S. Miller
6f169300 a706124d

+1
+1
net/ipv4/netfilter/ip_conntrack_tftp.c
··· 71 71 72 72 exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple; 73 73 exp->mask.src.ip = 0xffffffff; 74 + exp->mask.src.u.udp.port = 0; 74 75 exp->mask.dst.ip = 0xffffffff; 75 76 exp->mask.dst.u.udp.port = 0xffff; 76 77 exp->mask.dst.protonum = 0xff;