Skip to content

Commit

Permalink
srandom has no influence on read_random, at least not this late...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgurney committed Feb 13, 2015
1 parent b56b2f6 commit 217bb22
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sys/dev/oce/oce_mbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,6 @@ oce_config_nic_rss(POCE_SOFTC sc, uint32_t if_id, uint16_t enable_rss)
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);
Expand Down

0 comments on commit 217bb22

Please sign in to comment.