net: Call skb_get_hash in get_xps_queue and __skb_tx_hash
authorTom Herbert <therbert@google.com>
Wed, 2 Jul 2014 04:32:27 +0000 (21:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 04:14:21 +0000 (21:14 -0700)
commit0e001614e849b68cff94cda8db8b550569d3dba6
tree270c7f51c6bbe62c662793729199afdcb4304759
parentb73c3d0e4f0e1961e15bec18720e48aabebe2109
net: Call skb_get_hash in get_xps_queue and __skb_tx_hash

Call standard function to get a packet hash instead of taking this from
skb->sk->sk_hash or only using skb->protocol.

Signed-off-by: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
include/linux/skbuff.h
net/core/flow_dissector.c