]> err.no Git - linux-2.6/commit
[PKT_SCHED] SFQ: use net_random
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 21 Jan 2008 01:19:43 +0000 (17:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:08:15 +0000 (15:08 -0800)
commitd46f8dd87d9e7d5356891cbe97b8472e74db1413
treed241545e59e75966cecd9c28afb0ecab02f728ce
parentd3e994830d35159320d0a98c36aa580410c29609
[PKT_SCHED] SFQ: use net_random

SFQ doesn't need true random numbers, it is only using them to salt a
hash. Therefore it is better to use net_random() and avoid any
possible problems with depleting the entropy pool.

Signed-off-by: Stephen Hemminger <stephen.hemminger@vyatta.com>
Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_sfq.c