Date: Mon, 6 Jun 2005 22:19:59 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net bpf.c Message-ID: <200506062219.j56MJxkw029530@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2005-06-06 22:19:59 UTC
FreeBSD src repository
Modified files:
sys/net bpf.c
Log:
Change the maximum bpf program instruction limitation from being hard-
coded at 512 (BPF_MAXINSNS) to being tunable. This is useful for users
who wish to use complex or large bpf programs when filtering traffic.
For now we will default it to BPF_MAXINSNS. I have tested bpf programs
with well over 21,000 instructions without any problems.
Discussed with: phk
Revision Changes Path
1.150 +4 -1 src/sys/net/bpf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506062219.j56MJxkw029530>
