[NEIGH]: always use hash_mask under tbl lock
commitc5e29460f5f9eb189cab5d9fdaa137e64f7734b6
authorJulian Anastasov <ja@ssi.bg>
Tue, 3 Oct 2006 22:49:46 +0000 (3 15:49 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 4 Oct 2006 07:31:01 +0000 (4 00:31 -0700)
treee498a4b18033c79b1c7cb4aa3ba35b5c185a3676
parent1e0c14f49d6b393179f423abbac47f85618d3d46
[NEIGH]: always use hash_mask under tbl lock

Make sure hash_mask is protected with tbl->lock in all cases just like
the hash_buckets.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c