[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101201.122312.229751364.davem@davemloft.net>
Date: Wed, 01 Dec 2010 12:23:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: hagen@...u.net, xiaosuo@...il.com, wirelesser@...il.com,
netdev@...r.kernel.org
Subject: Re: multi bpf filter will impact performance?
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 01 Dec 2010 20:48:57 +0100
> Le mercredi 01 décembre 2010 à 10:44 -0800, David Miller a écrit :
>> From: Eric Dumazet <eric.dumazet@...il.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 :-)
>
> Sure, here is the patch I plan to test ASAP
Looks good to me.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists