Subject: Re: CVS commit: src/sys/dist/pf/net
To: David Young <>
From: Pavel Cahyna <>
List: tech-net
Date: 12/04/2006 07:49:08
On Mon, Dec 04, 2006 at 02:58:06AM +0000, David Young wrote:
> Module Name:	src
> Committed By:	dyoung
> Date:		Mon Dec  4 02:58:06 UTC 2006
> Modified Files:
> 	src/sys/dist/pf/net: pf.c pfvar.h
> Log Message:
> Lightly constify.  Helps compile-time checking that we are not
> scribbling over shared or read-only memory---e.g., in mbufs.

Why? mbufs passed to pf are guaranteed to be writable. (see PR 26433)

I am afraid that such changes will make merging new versions of pf more
difficult. (Have you cousulted with Peter Postma?)