List Info

Thread: CVS commit: src/sys/dist/pf/net




CVS commit: src/sys/dist/pf/net
user name
2006-12-04 06: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?)

Pavel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )