summaryrefslogtreecommitdiffstats
path: root/net/caif/cfveil.c
diff options
context:
space:
mode:
authorTom Herbert <therbert@google.com>2010-11-09 10:47:38 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-15 10:57:28 -0800
commitfe8222406c8277a21172479d3a8283d31c209028 (patch)
tree89876457391fba73e3c2c9fdbf9c28a980ad4ffc /net/caif/cfveil.c
parented9af2e839c06c18f721da2c768fbb444c4a10e5 (diff)
downloadop-kernel-dev-fe8222406c8277a21172479d3a8283d31c209028.zip
op-kernel-dev-fe8222406c8277a21172479d3a8283d31c209028.tar.gz
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 <therbert@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/cfveil.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud