Re: multi bpf filter will impact performance?

David Miller
2010-12-01T18:44:23Z

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Wed, 01 Dec 2010 19:24:53 +0100

> A third work in progress (from my side) is to add a check in
> sk_chk_filter() to remove the memvalid we added lately to protect the
> LOAD M(K).

I understand your idea, but the static checkers are still going to
complain. So better add a huge comment in sk_run_filter() explaining
why the checker's complaint should be ignored :-)