projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e75cb46
)
netfilter: Fix removal of GRE expectation entries created by PPTP
author
Anthony Lineham
<
[email protected]
>
Wed, 21 Oct 2015 22:17:03 +0000
(11:17 +1300)
committer
Pablo Neira Ayuso
<
[email protected]
>
Mon, 9 Nov 2015 12:32:14 +0000
(13:32 +0100)
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 <
[email protected]
>
Signed-off-by: Pablo Neira Ayuso <
[email protected]
>
net/ipv4/netfilter/nf_nat_pptp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/nf_nat_pptp.c
b/net/ipv4/netfilter/nf_nat_pptp.c
index 657d2307f031e7fb2a2e38f763cf528329931614..b3ca21b2ba9b638550b552c85e297234ccf39caa 100644
(file)
--- a/
net/ipv4/netfilter/nf_nat_pptp.c
+++ b/
net/ipv4/netfilter/nf_nat_pptp.c
@@
-45,7
+45,7
@@
static void pptp_nat_expected(struct nf_conn *ct,
struct net *net = nf_ct_net(ct);
const struct nf_conn *master = ct->master;
struct nf_conntrack_expect *other_exp;
- struct nf_conntrack_tuple t;
+ struct nf_conntrack_tuple t
= {}
;
const struct nf_ct_pptp_master *ct_pptp_info;
const struct nf_nat_pptp *nat_pptp_info;
struct nf_nat_range range;