From: Jeff Dike Date: Thu, 7 Dec 2006 04:34:55 +0000 (-0800) Subject: [PATCH] uml: use get_random_bytes() after random pool is seeded X-Git-Tag: v2.6.20-rc1~145^2^2~258 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8210fd2a9fe4b36e99ab777a1a81eb47b703c235;p=pandora-kernel.git [PATCH] uml: use get_random_bytes() after random pool is seeded When the UML network driver generates random MACs for its devices, it was possible for a number of UMLs to get the same MACs because the ethernet initialization was done before the random pool was properly seeded. This patch moves the initialization later so that it gets better randomness. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed