Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2011 13:58:51 +1100
From:      Peter Jeremy <peterjeremy@acm.org>
To:        "Bjoern A. Zeeb" <bz@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r223637 - in head: . contrib/pf/authpf contrib/pf/ftp-proxy contrib/pf/man contrib/pf/pfctl contrib/pf/pflogd sbin/pflogd sys/conf sys/contrib/altq/altq sys/contrib/pf/net sys/modules s...
Message-ID:  <20111216025851.GA79528@server.vk2pj.dyndns.org>
In-Reply-To: <20111214014637.GA30470@server.vk2pj.dyndns.org>
References:  <201106281157.p5SBvP5g048097@svn.freebsd.org> <20111214014637.GA30470@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2011-Jun-28 11:57:25 +0000, "Bjoern A. Zeeb" <bz@FreeBSD.org> wrote:
>Author: bz
>Date: Tue Jun 28 11:57:25 2011
>New Revision: 223637
>URL: http://svn.freebsd.org/changeset/base/223637
>
>Log:
>  Update packet filter (pf) code to OpenBSD 4.5.

Further to my mail last Wednesday, I've found nested "#ifdef __FreeBSD__"
conditionals in pf_ioctl.c as well - it looks like conditional code was
added to support network stack virtualisation without noting that the
code was already protectd by a "#ifdef __FreeBSD__".

And cross-checking the $OpenBSD$ tags in the FreeBSD repo against the
OpenBSD CVSweb throws up consistent off-by-one errors - as an example,
src/sys/contrib/pf/net/if_pfsync.h in FreeBSD 9.0 states
"$OpenBSD: if_pfsync.h,v 1.35 2008/06/29 08:42:15 mcbride Exp $"
but the actual content matches if_pfsync.h v1.36 in OpenBSD CVSweb.
Is it possible that the pf code was checked out of an OpenBSD repo
without the correct $OpenBSD$ tag expansion?

This caused me a degree of confusion whilst trying to correlate the
FreeBSD code with the OpenBSD code to try and update bin/124825

--=20
Peter Jeremy

--SLDf9lqlvOQaIe6s
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iEYEARECAAYFAk7qs+sACgkQ/opHv/APuIcIQACgsjqOcBa+XsH9CgLqudwxWHA1
GRsAnjZPG1qnyrZ/2KXnPQykcAU7y2J4
=RFxA
-----END PGP SIGNATURE-----

--SLDf9lqlvOQaIe6s--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111216025851.GA79528>