cvs commit: src/sys/net bpf.c

Ruslan Ermilov ru at FreeBSD.org
Tue Jun 7 06:41:19 GMT 2005


On Mon, Jun 06, 2005 at 10:19:59PM +0000, Christian S.J. Peron wrote:
> 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
> 
This is very useful, thanks!


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050607/e0bc4b98/attachment.bin


More information about the cvs-all mailing list