WSL2-Linux-Kernel/arch/um/os-Linux/drivers
Jeff Dike 8210fd2a9f [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 <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-07 08:39:29 -08:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
etap.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
ethertap_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
ethertap_user.c [PATCH] uml: split memory allocation prototypes out of user.h 2006-10-20 10:26:36 -07:00
tuntap.h [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00
tuntap_kern.c [PATCH] uml: use get_random_bytes() after random pool is seeded 2006-12-07 08:39:29 -08:00
tuntap_user.c [PATCH] uml: const more data 2006-09-27 08:26:15 -07:00