summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2013-01-11 10:38:42 -0800
committerDavid S. Miller <davem@davemloft.net>2013-01-11 15:47:27 -0800
commit87696f9234cb681ded2697b0f0fd01bb15a2aff2 (patch)
treebeb15ad2b692b9a180f886576c5cd028690f878d /net
parent17e1a42f2e377ec5809af79eb651d9ed5958fb97 (diff)
downloadlwn-87696f9234cb681ded2697b0f0fd01bb15a2aff2.tar.gz
lwn-87696f9234cb681ded2697b0f0fd01bb15a2aff2.zip
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 <alexander.h.duyck@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/core/dev.c1
1 files changed, 1 insertions, 0 deletions
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)