forked from Minki/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>
This commit is contained in:
parent
a706124d0a
commit
6f16930078
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user