From: Tom Herbert Date: Tue, 9 Nov 2010 10:47:38 +0000 (+0000) Subject: net: Simplify RX queue allocation X-Git-Tag: v2.6.38-rc1~476^2~576 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe8222406c8277a21172479d3a8283d31c209028;p=pandora-kernel.git net: Simplify RX queue allocation This patch move RX queue allocation to alloc_netdev_mq and freeing of the queues to free_netdev (symmetric to TX queue allocation). Each kobject RX queue takes a reference to the queue's device so that the device can't be freed before all the kobjects have been released-- this obviates the need for reference counts specific to RX queues. Signed-off-by: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed