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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to