diff options
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index ca212acd3348..fdb9973b82a6 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -1725,7 +1725,7 @@ out_kfree_skb: | |||
1725 | 1725 | ||
1726 | static u32 skb_tx_hashrnd; | 1726 | static u32 skb_tx_hashrnd; |
1727 | 1727 | ||
1728 | static u16 skb_tx_hash(struct net_device *dev, struct sk_buff *skb) | 1728 | u16 skb_tx_hash(const struct net_device *dev, const struct sk_buff *skb) |
1729 | { | 1729 | { |
1730 | u32 hash; | 1730 | u32 hash; |
1731 | 1731 | ||
@@ -1740,6 +1740,7 @@ static u16 skb_tx_hash(struct net_device *dev, struct sk_buff *skb) | |||
1740 | 1740 | ||
1741 | return (u16) (((u64) hash * dev->real_num_tx_queues) >> 32); | 1741 | return (u16) (((u64) hash * dev->real_num_tx_queues) >> 32); |
1742 | } | 1742 | } |
1743 | EXPORT_SYMBOL(skb_tx_hash); | ||
1743 | 1744 | ||
1744 | static struct netdev_queue *dev_pick_tx(struct net_device *dev, | 1745 | static struct netdev_queue *dev_pick_tx(struct net_device *dev, |
1745 | struct sk_buff *skb) | 1746 | struct sk_buff *skb) |