From owner-svn-src-head@FreeBSD.ORG Tue Apr 3 18:30:42 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7D70D1065673; Tue, 3 Apr 2012 18:30:42 +0000 (UTC) (envelope-from ermal.luci@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1A5F08FC17; Tue, 3 Apr 2012 18:30:42 +0000 (UTC) Received: by iahk25 with SMTP id k25so1950iah.13 for ; Tue, 03 Apr 2012 11:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Ebo5V4mle3YduOGyb7uyKVyuPh4ae4PFEGNfyF5q/VU=; b=XUPazGWQu2uaWKgvwgbJGn7LJQXhEuRiwnaWQjE8ssVmxyxkrhXoMKUdUhF7yfVTnV doMV8WTyBF//wOWLOG8o3NShTEnBcgsvhjIU+Eom4TGPY7ScBdayZWHIyr3ZFQ5tPnjs irhFJKsNrF7QMeldBGDu4RukQF+qu8kj0wdyWwaJ7WHfqZckTSPgieBAAi/dMyaPQUTm k2EdAIb/61vIxCJN8JgkCCrVwLNTS7WgEBc3spaMVxzhyjn+KhAGJ4OK7eyttrGD70t/ qypobqI7VJNYBNc0KKbOAU9YlZYjNUvpPr9z5jSYpzmI6t8ZjN6Q2+bEze7gTqlqKCHR UQXA== MIME-Version: 1.0 Received: by 10.42.153.10 with SMTP id k10mr8301562icw.24.1333477841458; Tue, 03 Apr 2012 11:30:41 -0700 (PDT) Sender: ermal.luci@gmail.com Received: by 10.231.204.15 with HTTP; Tue, 3 Apr 2012 11:30:41 -0700 (PDT) In-Reply-To: <20120403181245.GF13561@FreeBSD.org> References: <201204031809.q33I9LLn062165@svn.freebsd.org> <20120403181245.GF13561@FreeBSD.org> Date: Tue, 3 Apr 2012 20:30:41 +0200 X-Google-Sender-Auth: aQnodLV9tHMgWPCaxN7r7mFay1I Message-ID: From: =?ISO-8859-1?Q?Ermal_Lu=E7i?= To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r233846 - head/sys/contrib/pf/net X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2012 18:30:42 -0000 You are sure that the defer feature is linked only to active-active? 2012/4/3 Gleb Smirnoff : > On Tue, Apr 03, 2012 at 06:09:21PM +0000, Gleb Smirnoff wrote: > T> Author: glebius > T> Date: Tue Apr =A03 18:09:20 2012 > T> New Revision: 233846 > T> URL: http://svn.freebsd.org/changeset/base/233846 > T> > T> Log: > T> =A0 Since pf 4.5 import pf(4) has a mechanism to defer > T> =A0 forwarding a packet, that creates state, until > T> =A0 pfsync(4) peer acks state addition (or 10 msec > T> =A0 timeout passes). > T> > T> =A0 This is needed for active-active CARP configurations, > T> =A0 which are poorly supported in FreeBSD and arguably > T> =A0 a good idea at all. > T> > T> =A0 Unfortunately by the time of import this feature in > T> =A0 OpenBSD was turned on, and did not have a switch to > T> =A0 turn it off. This leaked to FreeBSD. > T> > T> =A0 This change make it possible to turn this feature > T> =A0 off via ioctl() and turns it off by default. > > Fortunately, we got an unused field in struct pfsyncreq, > so this commit doesn't break ioctl() ABI, and this is > mergeable. > > -- > Totus tuus, Glebius. --=20 Ermal