login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
6
Re: [PATCH] [RFC] Time-based RFC 4122 UUID generator
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
<Valdis.Kletnieks@...>
To: Helge Deller <deller@...>
Cc: <linux-kernel@...>
Subject:
Re: [PATCH] [RFC] Time-based RFC 4122 UUID generator
Date: Saturday, October 6, 2007 - 11:42 pm
On Sat, 06 Oct 2007 15:53:37 +0200, Helge Deller said:
quoted text
> diff --git a/drivers/char/random.c b/drivers/char/random.c > index af274e5..c84a385 100644 > --- a/drivers/char/random.c > +++ b/drivers/char/random.c > @@ -239,6 +239,7 @@ > #include <linux/spinlock.h> > #include <linux/percpu.h> > #include <linux/cryptohash.h> > +#include <linux/netdevice.h> > > #include <asm/processor.h> > #include <asm/uaccess.h> > @@ -1157,6 +1158,8 @@ void generate_random_uuid(unsigned char uuid_out[16]) > uuid_out[6] = (uuid_out[6] & 0x0F) | 0x40; > /* Set the UUID variant to DCE */ > uuid_out[8] = (uuid_out[8] & 0x3F) | 0x80; > + /* Set multicast bit to avoid conflicts with NIC MAC addresses */ > + uuid_out[10] |= 0x80; > }
Erm, was it *intended* that you also changed the behavior of generate_random_uuid()?
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] [RFC] Time-based RFC 4122 UUID generator
, Helge Deller
, (Sat Oct 6, 9:53 am)
Re: [PATCH] [RFC] Time-based RFC 4122 UUID generator
,
, (Sat Oct 6, 11:42 pm)
Re: [PATCH] [RFC] Time-based RFC 4122 UUID generator
, Helge Deller
, (Sun Oct 7, 6:08 am)
Re: [PATCH] [RFC] Time-based RFC 4122 UUID generator
,
, (Sun Oct 7, 10:02 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 004/196] Chinese: add translation of SubmittingPatches
david
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Linus Torvalds
Linux 2.6.21-rc6
holzheu
Re: [RFC/PATCH] Documentation of kernel messages
git
:
openbsd-misc
:
linux-netdev
:
Eric Dumazet
Re: Multicast packet loss
jamal
Re: iproute2 action/policer question
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jens Låås
Re: tx queue hashing hot-spots and poor performance (multiq, ixgbe)
Colocation donated by:
Who's online
There are currently
1 user
and
478 guests
online.
Online users
hemisama87q
Syndicate