Re: [PATCH] netfilter: use idr instead of list to speed up packet lookup by id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 7, 2010 at 9:40 PM, Patrick McHardy <kaber@xxxxxxxxx> wrote:
> Processing packets in order doesn't necessarily mean that there aren't
> many packets queued. Its just that the current scheme is pretty much
> optimal for this case since the verdict will always refer to the first
> entry in the list.
>

How about keeping the old behavior by default, and replace the single
list with idr when an unorder vedict is received.



-- 
Regards,
Changli Gao(xiaosuo@xxxxxxxxx)
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux