Date: Thu, 26 Jul 2007 18:15:02 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netgraph ng_bpf.c Message-ID: <200707261815.l6QIF3rZ050499@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707261815.l6QIF3rZ050499>