]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - lib/rhashtable.c
tipc: remove premature ESTABLISH FSM event at link synchronization
[karo-tx-linux.git] / lib / rhashtable.c
index 42466c167257cc08183357116e0c26c20f7dec3e..707ca5d677c676a599442604d918c215d7709138 100644 (file)
@@ -234,7 +234,7 @@ static struct bucket_table *bucket_table_alloc(struct rhashtable *ht,
 
        INIT_LIST_HEAD(&tbl->walkers);
 
-       get_random_bytes(&tbl->hash_rnd, sizeof(tbl->hash_rnd));
+       tbl->hash_rnd = get_random_u32();
 
        for (i = 0; i < nbuckets; i++)
                INIT_RHT_NULLS_HEAD(tbl->buckets[i], ht, i);