Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 07/04/2000 12:09:19
Module Name:	syssrc
Committed By:	thorpej
Date:		Tue Jul  4 19:09:18 UTC 2000

Modified Files:
	syssrc/sys/net: if.h

Log Message:
Don't allow IFF_PROMISC to be changed directly by userspace.  It
interferes with the reference counting done by ifpromisc(), and is
essentially impossible to get the semantics correct if we allow this
flag to be directly toggled.

No programs should really be affected by this; IFF_PROMISC is basically
useless without bpf, anyway, and bpf still provides a way to set
promiscuous mode on an interface (which uses ifpromisc()).


To generate a diff of this commit:
cvs rdiff -r1.51 -r1.52 syssrc/sys/net/if.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.