[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130115075323.64b2fdc7@nehalam.linuxnetplumber.net>
Date: Tue, 15 Jan 2013 07:53:23 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Tom Herbert <therbert@...gle.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
netdev@...kandruth.co.uk, eric.dumazet@...il.com
Subject: Re: [PATCH 1/5] soreuseport: infrastructure
On Mon, 14 Jan 2013 12:00:18 -0800 (PST)
Tom Herbert <therbert@...gle.com> wrote:
> +/* Pseudo random number generator from numerical recipes. */
> +static inline u32 next_pseudo_random32(u32 seed)
> +{
> + return seed * 1664525 + 1013904223;
> +}
> +
Don't reimplement a pseudo random number generator, there already
exists net_random()
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists