[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101005.145515.216763626.davem@davemloft.net>
Date: Tue, 05 Oct 2010 14:55:15 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net neigh: RCU conversion of neigh hash table
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 04 Oct 2010 18:15:44 +0200
> [PATCH net-next] net neigh: RCU conversion of neigh hash table
>
> Instead of storing hash_buckets, hash_mask and hash_rnd in "struct
> neigh_table", a new structure is defined :
>
> struct neigh_hash_table {
> struct neighbour **hash_buckets;
> unsigned int hash_mask;
> __u32 hash_rnd;
> struct rcu_head rcu;
> };
>
> And "struct neigh_table" has an RCU protected pointer to such a
> neigh_hash_table.
>
> This means the signature of (*hash)() function changed: We need to add a
> third parameter with the actual hash_rnd value, since this is not
> anymore a neigh_table field.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Also applied.
Looking good so far! :)
--
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