aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorHenrik Austad <[email protected]>2017-10-17 10:10:10 +0000
committerDavid S. Miller <[email protected]>2017-10-17 16:00:08 +0000
commit8a5f2166a6288ee4b5a393f1ebc8cfb26b0510f0 (patch)
tree48693323b1c0a1f473b78bfc185620b73d9ee147 /net/lapb/lapb_timer.c
parentMerge branch 'mlxsw-GRE-Offload-decap-without-encap' (diff)
downloadkernel-8a5f2166a6288ee4b5a393f1ebc8cfb26b0510f0.tar.gz
kernel-8a5f2166a6288ee4b5a393f1ebc8cfb26b0510f0.zip
net: export netdev_txq_to_tc to allow sch_mqprio to compile as module
In commit 32302902ff09 ("mqprio: Reserve last 32 classid values for HW traffic classes and misc IDs") sch_mqprio started using netdev_txq_to_tc to find the correct tc instead of dev->tc_to_txq[] However, when mqprio is compiled as a module, it cannot resolve the symbol, leading to this error: ERROR: "netdev_txq_to_tc" [net/sched/sch_mqprio.ko] undefined! This adds an EXPORT_SYMBOL() since the other user in the kernel (netif_set_xps_queue) is also EXPORT_SYMBOL() (and not _GPL) or in a sysfs-callback. Cc: Alexander Duyck <[email protected]> Cc: Jesus Sanchez-Palencia <[email protected]> Cc: David S. Miller <[email protected]> Signed-off-by: Henrik Austad <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Acked-by: Alexander Duyck <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions