Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f169300 authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller
Browse files

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



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

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a706124d
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -71,6 +71,7 @@ static int tftp_help(struct sk_buff **pskb,


		exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple;
		exp->tuple = ct->tuplehash[IP_CT_DIR_REPLY].tuple;
		exp->mask.src.ip = 0xffffffff;
		exp->mask.src.ip = 0xffffffff;
		exp->mask.src.u.udp.port = 0;
		exp->mask.dst.ip = 0xffffffff;
		exp->mask.dst.ip = 0xffffffff;
		exp->mask.dst.u.udp.port = 0xffff;
		exp->mask.dst.u.udp.port = 0xffff;
		exp->mask.dst.protonum = 0xff;
		exp->mask.dst.protonum = 0xff;