cvs commit: src/sys/netgraph ng_bpf.c
Alexander Motin
mav at FreeBSD.org
Thu Jul 26 18:15:03 UTC 2007
mav 2007-07-26 18:15:02 UTC
FreeBSD src repository
Modified files:
sys/netgraph ng_bpf.c
Log:
Reduce stack usage by 256 bytes per call. It helps to avoid kernel
stack overflow in complicated traffic filtering setups.
There can be minor performance degradation for the MHLEN < len <= 256 case
due to additional buffer allocation, but it is a rare case.
Approved by: re (rwatson), glebius (mentor)
MFC after: 1 week
Revision Changes Path
1.22 +11 -5 src/sys/netgraph/ng_bpf.c
More information about the cvs-src
mailing list