Skip to content

Commit c255cb2

Browse files
anthonylinehamummakynes
authored andcommitted
netfilter: Fix removal of GRE expectation entries created by PPTP
The uninitialized tuple structure caused incorrect hash calculation and the lookup failed. Link: https://bugzilla.kernel.org/show_bug.cgi?id=106441 Signed-off-by: Anthony Lineham <anthony.lineham@alliedtelesis.co.nz> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
1 parent e75cb46 commit c255cb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/ipv4/netfilter/nf_nat_pptp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static void pptp_nat_expected(struct nf_conn *ct,
4545
struct net *net = nf_ct_net(ct);
4646
const struct nf_conn *master = ct->master;
4747
struct nf_conntrack_expect *other_exp;
48-
struct nf_conntrack_tuple t;
48+
struct nf_conntrack_tuple t = {};
4949
const struct nf_ct_pptp_master *ct_pptp_info;
5050
const struct nf_nat_pptp *nat_pptp_info;
5151
struct nf_nat_range range;

0 commit comments

Comments
 (0)