summaryrefslogtreecommitdiff
path: root/drivers/net/sfc/efx.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-02-15 19:39:21 (GMT)
committerBen Hutchings <bhutchings@solarflare.com>2011-02-15 19:45:33 (GMT)
commit5c56580b74e57e56f30e3c5bbc9d7ab487858497 (patch)
tree004f217312262babf57bec4c0c816d71cedc875e /drivers/net/sfc/efx.h
parentac7100ba93428a26cde8e47dfcfcfbfbfcce66de (diff)
downloadlinux-fsl-qoriq-5c56580b74e57e56f30e3c5bbc9d7ab487858497.tar.xz
net: Adjust TX queue kobjects if number of queues changes during unregister
If the root qdisc for a net device is mqprio, and the driver's ndo_setup_tc() operation dynamically adds and remvoes TX queues, netif_set_real_num_tx_queues() will be called during device unregistration to remove the extra TX queues when the qdisc is destroyed. Currently this causes the corresponding kobjects to be leaked, and the device's reference count never drops to 0. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/sfc/efx.h')
0 files changed, 0 insertions, 0 deletions