diff options
author | Tom Herbert <therbert@google.com> | 2013-12-16 07:12:06 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-17 22:36:21 +0100 |
commit | 3958afa1b272eb07109fd31549e69193b4d7c364 (patch) | |
tree | 71ef9fff60aa85320c09b4aefa1b64c206f4639a /net/sched/sch_fq.c | |
parent | net/hsr: using kfree_rcu() to simplify the code (diff) | |
download | linux-3958afa1b272eb07109fd31549e69193b4d7c364.tar.xz linux-3958afa1b272eb07109fd31549e69193b4d7c364.zip |
net: Change skb_get_rxhash to skb_get_hash
Changing name of function as part of making the hash in skbuff to be
generic property, not just for receive path.
Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_fq.c')
-rw-r--r-- | net/sched/sch_fq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_fq.c b/net/sched/sch_fq.c index f2fb92dd970d..08ef7a42c0e4 100644 --- a/net/sched/sch_fq.c +++ b/net/sched/sch_fq.c @@ -226,7 +226,7 @@ static struct fq_flow *fq_classify(struct sk_buff *skb, struct fq_sched_data *q) /* By forcing low order bit to 1, we make sure to not * collide with a local flow (socket pointers are word aligned) */ - sk = (struct sock *)(skb_get_rxhash(skb) | 1L); + sk = (struct sock *)(skb_get_hash(skb) | 1L); } root = &q->fq_root[hash_32((u32)(long)sk, q->fq_trees_log)]; |