commit | 29c58472ec2af073c4f858a61236fbedfc2923ac | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Thu Nov 17 09:48:30 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 17 13:28:56 2016 -0500 |
tree | 4807f37e4dba51999dc397a80962569ed7ad7162 | |
parent | d30d9ccbfac7cf9a12a088d57aaf0891732e2bca [diff] |
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>