From: Julian Anastasov Subject: Re: [PATCH] ipvs: Fix reuse connection if real server is dead Date: Wed, 8 May 2013 11:53:33 +0300 (EEST) Message-ID: References: <1367963680-5213-1-git-send-email-grzegorz.lyczba@gmail.com> <1368000475.3169.163.camel@hawk.mlab.se> Mime-Version: 1.0 Return-path: In-Reply-To: <1368000475.3169.163.camel@hawk.mlab.se> Sender: lvs-devel-owner@vger.kernel.org List-ID: Content-Type: TEXT/PLAIN; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Hans Schillstrom Cc: Grzegorz Lyczba , lvs-devel@vger.kernel.org, Simon Horman Hello, On Wed, 8 May 2013, Hans Schillstrom wrote: > > > + unlikely(!atomic_read(&cp->dest->weight)) && > > > > We should add '!iph.fragoffs &&' here. > > Do we really need that? > I don't think a SYN can be fragmented. SYNs are usually not fragmented. But we don't have the right to search for SYN in a packet without TCP header. It can be data fragment that contains 1 at this bit position, when weight=0 such packets should be forwarded as part of existing connection. Regards -- Julian Anastasov