From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Sutter Subject: [PATCH 2/2] netfilter: ip6t_SYNPROXY: fix sending window update to client Date: Thu, 6 Aug 2015 14:34:57 +0200 Message-ID: <1438864497-3767-2-git-send-email-phil@nwl.cc> References: <20150804175302.GA19650@salvia> <1438864497-3767-1-git-send-email-phil@nwl.cc> Cc: netdev@vger.kernel.org, Patrick McHardy , netfilter-devel@vger.kernel.org To: pablo@netfilter.org Return-path: Received: from orbit.nwl.cc ([176.31.251.142]:45477 "EHLO mail.nwl.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755445AbbHFMe7 (ORCPT ); Thu, 6 Aug 2015 08:34:59 -0400 In-Reply-To: <1438864497-3767-1-git-send-email-phil@nwl.cc> Sender: netfilter-devel-owner@vger.kernel.org List-ID: This is the identical fix as "netfilter: ipt_SYNPROXY: fix sending window update to client" but for the IPv6 variant which obviously suffers from the same issue. Signed-off-by: Phil Sutter --- net/ipv6/netfilter/ip6t_SYNPROXY.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/ipv6/netfilter/ip6t_SYNPROXY.c b/net/ipv6/netfilter/ip6t_SYNPROXY.c index f5af323..ca30a04 100644 --- a/net/ipv6/netfilter/ip6t_SYNPROXY.c +++ b/net/ipv6/netfilter/ip6t_SYNPROXY.c @@ -242,7 +242,8 @@ synproxy_send_client_ack(const struct synproxy_net *snet, synproxy_build_options(nth, opts); - synproxy_send_tcp(skb, nskb, NULL, 0, niph, nth, tcp_hdr_size, snet); + synproxy_send_tcp(skb, nskb, skb->nfct, IP_CT_ESTABLISHED_REPLY, + niph, nth, tcp_hdr_size, snet); } static bool -- 2.1.2