From: Alexander Duyck Date: Fri, 11 Jan 2013 18:38:42 +0000 (-0800) Subject: net: Export __netdev_pick_tx so that it can be used in modules X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=87696f9234cb681ded2697b0f0fd01bb15a2aff2;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git net: Export __netdev_pick_tx so that it can be used in modules When testing with FCoE enabled we discovered that I had not exported __netdev_pick_tx. As a result ixgbe doesn't build with the RFC patches applied because ixgbe_select_queue was calling the function. This change corrects that build issue by correctly exporting __netdev_pick_tx so it can be used by modules. Signed-off-by: Alexander Duyck Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index 95de4c011808..d1e8116e93cd 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -2746,6 +2746,7 @@ u16 __netdev_pick_tx(struct net_device *dev, struct sk_buff *skb) return queue_index; } +EXPORT_SYMBOL(__netdev_pick_tx); struct netdev_queue *netdev_pick_tx(struct net_device *dev, struct sk_buff *skb)