[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <C27F8246C663564A84BB7AB343977242667C64F9B7@IRVEXCHCCR01.corp.ad.broadcom.com>
Date: Thu, 9 Jun 2011 23:25:12 -0700
From: "Michael Chan" <mchan@...adcom.com>
To: "'Stephen Hemminger'" <shemminger@...tta.com>
cc: "'davem@...emloft.net'" <davem@...emloft.net>,
"'netdev@...r.kernel.org'" <netdev@...r.kernel.org>,
"Eddie Wai" <eddie.wai@...adcom.com>
Subject: Re: [PATCH 3/5 net-next] cnic: Randomize initial TCP port for
iSCSI connections
Stephen Hemminger wrote:
> On Thu, 9 Jun 2011 18:08:00 -0700
> "Michael Chan" <mchan@...adcom.com> wrote:
> > random32() is pseudo random so we can get the same number after reboot,
> > right? One scenario is that we may be booting from an iSCSI target, but
> > due to some failure, the user may be rebooting multiple times rapidly.
> > We want to use a different port during each boot.
>
> random32 is seeded off get_random_bytes at boot.
Thanks. We'll change it to random32() in our next patchset then.
--
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