summaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/electra_cf.c
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2014-07-31 18:38:23 +0200
committerDavid S. Miller <davem@davemloft.net>2014-08-01 07:23:52 +0200
commita5b5dc3ce4df4f05f4d81c7d3c56a7604b242093 (patch)
treed8866e761fbccad617f7fe073694513f8158b2ba /drivers/pcmcia/electra_cf.c
parentxen-netfront: fix locking in connect error path (diff)
downloadlinux-a5b5dc3ce4df4f05f4d81c7d3c56a7604b242093.tar.xz
linux-a5b5dc3ce4df4f05f4d81c7d3c56a7604b242093.zip
xen-netfront: release per-queue Tx and Rx resource when disconnecting
Since netfront may reconnect to a backend with a different number of queues, all per-queue Rx and Tx resources (skbs and grant references) should be freed when disconnecting. Without this fix, the Tx and Rx grant refs are not released and netfront will exhaust them after only a few reconnections. netfront will fail to connect when no free grant references are available. Since all Rx bufs are freed and reallocated instead of reused this will add some additional delay to the reconnection but this is expected to be small compared to the time taken by any backend hotplug scripts etc. Signed-off-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pcmcia/electra_cf.c')
0 files changed, 0 insertions, 0 deletions