Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src
Module Name: src
Committed By: darrenr
Date: Sat Apr 10 17:53:05 UTC 2004
Modified Files:
src/dist/dhcp/common: bpf.c
src/usr.sbin/mopd/common: pf.c
src/usr.sbin/ndbootd/config: ndbootd-bpf.c
src/usr.sbin/rarpd: rarpd.c
src/usr.sbin/rbootd: bpf.c
Log Message:
With recent changes to BPF, pushing the default buffer size to 1MB, running
a bunch of small daemons that seem small packet flows can easily chew up
significant kernel memory (each BPF device opened takes 2*buffersize of
wired memory.) In each of these applications, add code to set the buffer
size to 32k before setting the interface.
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/dist/dhcp/common/bpf.c
cvs rdiff -r1.8 -r1.9 src/usr.sbin/mopd/common/pf.c
cvs rdiff -r1.6 -r1.7 src/usr.sbin/ndbootd/config/ndbootd-bpf.c
cvs rdiff -r1.49 -r1.50 src/usr.sbin/rarpd/rarpd.c
cvs rdiff -r1.15 -r1.16 src/usr.sbin/rbootd/bpf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index