Pavel Emelyanov bc4bf5f38c [NEIGH]: Fix race between neighbor lookup and table's hash_rnd update.
The neigh_hash_grow() may update the tbl->hash_rnd value, which 
is used in all tbl->hash callbacks to calculate the hashval.

Two lookup routines may race with this, since they call the 
->hash callback without the tbl->lock held. Since the hash_rnd
is changed with this lock write-locked moving the calls to ->hash
under this lock read-locked closes this gap.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-02-23 19:57:02 -08:00
..
2008-02-07 18:05:04 -08:00
2008-02-14 14:51:38 -08:00
2008-02-03 17:55:45 +02:00
2008-01-28 15:02:44 -08:00
2008-02-17 18:42:03 -08:00
2008-02-10 18:11:22 -05:00
2008-01-28 15:10:48 -08:00
2008-01-28 14:54:10 -08:00
2008-01-28 14:56:29 -08:00