summaryrefslogtreecommitdiffstats
path: root/drivers/ide/icside.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-02-15 19:39:21 +0000
committerBen Hutchings <bhutchings@solarflare.com>2011-02-15 19:45:33 +0000
commit5c56580b74e57e56f30e3c5bbc9d7ab487858497 (patch)
tree004f217312262babf57bec4c0c816d71cedc875e /drivers/ide/icside.c
parentac7100ba93428a26cde8e47dfcfcfbfbfcce66de (diff)
downloadlinux-5c56580b74e57e56f30e3c5bbc9d7ab487858497.tar.bz2
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/ide/icside.c')
0 files changed, 0 insertions, 0 deletions