net: Export __netdev_pick_tx so that it can be used in modules
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 11 Jan 2013 18:38:42 +0000 (10:38 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Jan 2013 23:47:27 +0000 (15:47 -0800)
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 <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index 95de4c0118088fa61b89cdd4fcc5b1f990fc270f..d1e8116e93cd374d87a04307de65e64799fcf1c8 100644 (file)
@@ -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)