Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 May 2019 08:50:04 -0700
From:      "Kristof Provost" <kp@FreeBSD.org>
To:        "Andrew Gallatin" <gallatin@cs.duke.edu>
Cc:        "Slawa Olhovchenkov" <slw@zxy.spb.ru>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r347410 - in head: . sys/amd64/conf sys/arm/conf sys/arm64/conf sys/i386/conf sys/powerpc/conf sys/riscv/conf sys/sparc64/conf
Message-ID:  <3884905F-0593-496D-8BAD-67C468C92AF2@FreeBSD.org>
In-Reply-To: <0842eef5-5f1f-c25a-a470-a424c536f1ed@cs.duke.edu>
References:  <201905092238.x49McFCO015665@repo.freebsd.org> <20190510124458.GB65054@zxy.spb.ru> <0842eef5-5f1f-c25a-a470-a424c536f1ed@cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10 May 2019, at 8:31, Andrew Gallatin wrote:
> On 2019-05-10 08:44, Slawa Olhovchenkov wrote:
>
>> pf have ifdef for IPSEC, but don't have support IPSEC_SUPPORT
>> (netpfil/pf/if_pfsync.c).
>>
>
> Thanks for pointing this out.  It seems like IPSEC_SUPPORT would work 
> for this.  I've made a patch, and it compiles and the pf module loads.
> However, I have no knowledge of how to test it.  Is this something
> that you use, and which you can test?
>
I suspect this code has not actually been enabled for a long time.
gettdb() doesn’t actually appear to be defined anywhere, so I 
wouldn’t expect it to ever compile.

gettdb() does exist in OpenBSD, so my current guess is that this is just 
an import artefact, and we should `#ifdef OPENBSD` it or something, or 
just remove it completely.

For completeness, and because I never shut up about this: to test pf 
`kldload pfsync`, `cd /usr/tests/sys/netpfil/pf` and `sudo kyua test`

There’s more information in the current edition of the FreeBSD 
journal.

Regards,
Kristof
From owner-svn-src-all@freebsd.org  Fri May 10 16:01:26 2019
Return-Path: <owner-svn-src-all@freebsd.org>
Delivered-To: svn-src-all@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9F95A15A63C2;
 Fri, 10 May 2019 16:01:26 +0000 (UTC)
 (envelope-from dougm@FreeBSD.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 46D1B76E65;
 Fri, 10 May 2019 16:01:26 +0000 (UTC)
 (envelope-from dougm@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F2B868AE;
 Fri, 10 May 2019 16:01:26 +0000 (UTC)
 (envelope-from dougm@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4AG1Qcs062967;
 Fri, 10 May 2019 16:01:26 GMT (envelope-from dougm@FreeBSD.org)
Received: (from dougm@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4AG1PC5062966;
 Fri, 10 May 2019 16:01:26 GMT (envelope-from dougm@FreeBSD.org)
Message-Id: <201905101601.x4AG1PC5062966@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: dougm set sender to
 dougm@FreeBSD.org using -f
From: Doug Moore <dougm@FreeBSD.org>
Date: Fri, 10 May 2019 16:01:25 +0000 (UTC)
To: src-committers@freebsd.org, svn-src-all@freebsd.org,
 svn-src-head@freebsd.org
Subject: svn commit: r347433 - head/sys/sys
X-SVN-Group: head
X-SVN-Commit-Author: dougm
X-SVN-Commit-Paths: head/sys/sys
X-SVN-Commit-Revision: 347433
X-SVN-Commit-Repository: base
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Rspamd-Queue-Id: 46D1B76E65
X-Spamd-Bar: --
Authentication-Results: mx1.freebsd.org
X-Spamd-Result: default: False [-2.95 / 15.00];
 local_wl_from(0.00)[FreeBSD.org];
 NEURAL_HAM_MEDIUM(-1.00)[-0.995,0];
 NEURAL_HAM_SHORT(-0.96)[-0.959,0];
 ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]
X-BeenThere: svn-src-all@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "SVN commit messages for the entire src tree \(except for &quot;
 user&quot; and &quot; projects&quot; \)" <svn-src-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-all/>;
List-Post: <mailto:svn-src-all@freebsd.org>
List-Help: <mailto:svn-src-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-src-all>,
 <mailto:svn-src-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 10 May 2019 16:01:26 -0000

Author: dougm
Date: Fri May 10 16:01:25 2019
New Revision: 347433
URL: https://svnweb.freebsd.org/changeset/base/347433

Log:
  A major change to subr_blist.c failed to update all the comments about
  changes to struct fields. Update those now.
  
  Approved by: markj (mentor)
  Differential Revision: https://reviews.freebsd.org/D20227

Modified:
  head/sys/sys/blist.h

Modified: head/sys/sys/blist.h
==============================================================================
--- head/sys/sys/blist.h	Fri May 10 15:55:30 2019	(r347432)
+++ head/sys/sys/blist.h	Fri May 10 16:01:25 2019	(r347433)
@@ -69,17 +69,17 @@ typedef	uint64_t	u_daddr_t;	/* unsigned disk address *
 #define SWAPBLK_NONE	((daddr_t)((u_daddr_t)SWAPBLK_MASK + 1))/* flag */
 
 /*
- * Both blmeta and bmu_bitmap MUST be a power of 2 in size.
+ * Both blmeta and bm_bitmap MUST be a power of 2 in size.
  */
 
 typedef struct blmeta {
-	u_daddr_t	bm_bitmap;	/* bitmap if we are a leaf	*/
+	u_daddr_t	bm_bitmap;	/* marking unfilled block sets	*/
 	daddr_t		bm_bighint;	/* biggest contiguous block hint*/
 } blmeta_t;
 
 typedef struct blist {
 	daddr_t		bl_blocks;	/* area of coverage		*/
-	daddr_t		bl_avail;	/* # available blocks */
+	daddr_t		bl_avail;	/* # available blocks		*/
 	u_daddr_t	bl_radix;	/* coverage radix		*/
 	daddr_t		bl_cursor;	/* next-fit search starts at	*/
 	blmeta_t	bl_root[1];	/* root of radix tree		*/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3884905F-0593-496D-8BAD-67C468C92AF2>