diff --git a/net/sched/cls_u32.c b/net/sched/cls_u32.c index b6d46065f6618d45271d34f42e2f1f054f80ddba..49d96b45a8ceda81cd46cece53add9d294ac8e97 100644 --- a/net/sched/cls_u32.c +++ b/net/sched/cls_u32.c @@ -335,7 +335,7 @@ static struct hlist_head *tc_u_common_hash; static unsigned int tc_u_hash(const struct tcf_proto *tp) { - return hash_64((u64) tp->chain->block, U32_HASH_SHIFT); + return hash_ptr(tp->chain->block, U32_HASH_SHIFT); } static struct tc_u_common *tc_u_common_find(const struct tcf_proto *tp)