net: Rename skb->rxhash to skb->hash
The packet hash can be considered a property of the packet, not just on RX path. This patch changes name of rxhash and l4_rxhash skbuff fields to be hash and l4_hash respectively. This includes changing uses of the field in the code which don't call the access functions. Signed-off-by: Tom Herbert <therbert@google.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Mahesh Bandewar <maheshb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4e2e865d95
commit
61b905da33
12 changed files with 49 additions and 49 deletions
|
|
@ -862,9 +862,9 @@ static inline void sock_rps_save_rxhash(struct sock *sk,
|
|||
const struct sk_buff *skb)
|
||||
{
|
||||
#ifdef CONFIG_RPS
|
||||
if (unlikely(sk->sk_rxhash != skb->rxhash)) {
|
||||
if (unlikely(sk->sk_rxhash != skb->hash)) {
|
||||
sock_rps_reset_flow(sk);
|
||||
sk->sk_rxhash = skb->rxhash;
|
||||
sk->sk_rxhash = skb->hash;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue