aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_pptp.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-12 07:41:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-08-12 07:41:14 +0200
commitb2a878de11251b06be144b5905e37dd0dc0b0104 (patch)
treef510ac1263ebd939493c3358408325804f7ba6e2 /net/netfilter/nf_conntrack_pptp.c
parentstaging: rtl8712: r8712_xmit_classifier(): Change return values and type (diff)
parentLinux 5.3-rc4 (diff)
downloadlinux-dev-b2a878de11251b06be144b5905e37dd0dc0b0104.tar.xz
linux-dev-b2a878de11251b06be144b5905e37dd0dc0b0104.zip
Merge 5.3-rc4 into staging-next
We need the iio/staging fixes in here as well. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_pptp.c')
-rw-r--r--net/netfilter/nf_conntrack_pptp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/netfilter/nf_conntrack_pptp.c b/net/netfilter/nf_conntrack_pptp.c
index b22042ad0fca..a971183f11af 100644
--- a/net/netfilter/nf_conntrack_pptp.c
+++ b/net/netfilter/nf_conntrack_pptp.c
@@ -234,9 +234,9 @@ static int exp_gre(struct nf_conn *ct, __be16 callid, __be16 peer_callid)
nf_nat_pptp_exp_gre = rcu_dereference(nf_nat_pptp_hook_exp_gre);
if (nf_nat_pptp_exp_gre && ct->status & IPS_NAT_MASK)
nf_nat_pptp_exp_gre(exp_orig, exp_reply);
- if (nf_ct_expect_related(exp_orig) != 0)
+ if (nf_ct_expect_related(exp_orig, 0) != 0)
goto out_put_both;
- if (nf_ct_expect_related(exp_reply) != 0)
+ if (nf_ct_expect_related(exp_reply, 0) != 0)
goto out_unexpect_orig;
/* Add GRE keymap entries */