Date: Fri, 13 Feb 2015 19:44:05 +0000 (UTC) From: John-Mark Gurney <jmg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r278695 - head/sys/dev/oce Message-ID: <201502131944.t1DJi5Fn053951@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jmg Date: Fri Feb 13 19:44:04 2015 New Revision: 278695 URL: https://svnweb.freebsd.org/changeset/base/278695 Log: srandom has no influence on read_random, at least not this late... Modified: head/sys/dev/oce/oce_mbox.c Modified: head/sys/dev/oce/oce_mbox.c ============================================================================== --- head/sys/dev/oce/oce_mbox.c Fri Feb 13 19:06:22 2015 (r278694) +++ head/sys/dev/oce/oce_mbox.c Fri Feb 13 19:44:04 2015 (r278695) @@ -811,7 +811,6 @@ oce_config_nic_rss(POCE_SOFTC sc, uint32 fwcmd->params.req.flush = OCE_FLUSH; fwcmd->params.req.if_id = LE_32(if_id); - srandom(arc4random()); /* random entropy seed */ read_random(fwcmd->params.req.hash, sizeof(fwcmd->params.req.hash)); rc = oce_rss_itbl_init(sc, fwcmd);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502131944.t1DJi5Fn053951>