Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



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



Home | Main Index | Thread Index | Old Index