aboutsummaryrefslogtreecommitdiffstats
path: root/net/packet
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2013-12-16 01:12:06 -0500
committerDavid S. Miller <davem@davemloft.net>2013-12-17 16:36:21 -0500
commit3958afa1b272eb07109fd31549e69193b4d7c364 (patch)
tree71ef9fff60aa85320c09b4aefa1b64c206f4639a /net/packet
parent1aee6cc2a5193aa9963ea49b0d452723c1d493d8 (diff)
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/packet')
-rw-r--r--net/packet/af_packet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c
index cc803c63059a..24675f06f4fd 100644
--- a/net/packet/af_packet.c
+++ b/net/packet/af_packet.c
@@ -963,7 +963,7 @@ static void prb_clear_blk_fill_status(struct packet_ring_buffer *rb)
963static void prb_fill_rxhash(struct tpacket_kbdq_core *pkc, 963static void prb_fill_rxhash(struct tpacket_kbdq_core *pkc,
964 struct tpacket3_hdr *ppd) 964 struct tpacket3_hdr *ppd)
965{ 965{
966 ppd->hv1.tp_rxhash = skb_get_rxhash(pkc->skb); 966 ppd->hv1.tp_rxhash = skb_get_hash(pkc->skb);
967} 967}
968 968
969static void prb_clear_rxhash(struct tpacket_kbdq_core *pkc, 969static 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,
1295 if (!skb) 1295 if (!skb)
1296 return 0; 1296 return 0;
1297 } 1297 }
1298 skb_get_rxhash(skb); 1298 skb_get_hash(skb);
1299 idx = fanout_demux_hash(f, skb, num); 1299 idx = fanout_demux_hash(f, skb, num);
1300 break; 1300 break;
1301 case PACKET_FANOUT_LB: 1301 case PACKET_FANOUT_LB: