Re: [PATCH 3/3] nf_conncount: tree_gc_worker should gc trees > CONNCOUNT_LOCK_SLOTS

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

 



Shawn Bohrer <sbohrer@xxxxxxxxxxxxxx> wrote:
> count_tree() computes the hash for searching and inserting trees based
> on the number of CONNCOUNT_SLOTS which is always greater than or equal
> to CONNCOUNT_LOCK_SLOTS.  Thus tree_gc_worker() needs to use
> CONNCOUNT_SLOTS to find the tree and CONNCOUNT_LOCK_SLOTS to find the
> lock.

What about removing CONNCOUNT_LOCK_SLOTS and use CONNCOUNT_SLOTS
everywhere instead?



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

  Powered by Linux