net_sched: sch_fq: use hash_ptr()
authorEric Dumazet <edumazet@google.com>
Thu, 17 Nov 2016 17:48:30 +0000 (09:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2016 18:28:56 +0000 (13:28 -0500)
commit29c58472ec2af073c4f858a61236fbedfc2923ac
tree4807f37e4dba51999dc397a80962569ed7ad7162
parentd30d9ccbfac7cf9a12a088d57aaf0891732e2bca
net_sched: sch_fq: use hash_ptr()

When I wrote sch_fq.c, hash_ptr() on 64bit arches was awful,
and I chose hash_32().

Linus Torvalds and George Spelvin fixed this issue, so we can
use hash_ptr() to get more entropy on 64bit arches with Terabytes
of memory, and avoid the cast games.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_fq.c