mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
1aee6cc2a5
commit
3958afa1b2
10 changed files with 17 additions and 17 deletions
|
|
@ -963,7 +963,7 @@ static void prb_clear_blk_fill_status(struct packet_ring_buffer *rb)
|
|||
static void prb_fill_rxhash(struct tpacket_kbdq_core *pkc,
|
||||
struct tpacket3_hdr *ppd)
|
||||
{
|
||||
ppd->hv1.tp_rxhash = skb_get_rxhash(pkc->skb);
|
||||
ppd->hv1.tp_rxhash = skb_get_hash(pkc->skb);
|
||||
}
|
||||
|
||||
static void prb_clear_rxhash(struct tpacket_kbdq_core *pkc,
|
||||
|
|
@ -1295,7 +1295,7 @@ static int packet_rcv_fanout(struct sk_buff *skb, struct net_device *dev,
|
|||
if (!skb)
|
||||
return 0;
|
||||
}
|
||||
skb_get_rxhash(skb);
|
||||
skb_get_hash(skb);
|
||||
idx = fanout_demux_hash(f, skb, num);
|
||||
break;
|
||||
case PACKET_FANOUT_LB:
|
||||
|
|
|
|||
Loading…
Reference in a new issue