[PATCH] uml: don't roll my own random MAC generator
Use the existing random_ether_addr() instead of cooking up my own version. Pointed out by Dave Hollis and Jason Lunz. Signed-off-by: Jeff Dike <jdike@addtoit.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
3b89af765c
commit
fade5d5461
@@ -50,6 +50,4 @@ extern char *split_if_spec(char *str, ...);
|
||||
|
||||
extern int dev_netmask(void *d, void *m);
|
||||
|
||||
extern void random_mac(unsigned char *addr);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user