summaryrefslogtreecommitdiffstats
path: root/drivers/video/hdmi.c
diff options
context:
space:
mode:
authorYuval Mintz2013-08-28 00:13:01 +0200
committerDavid S. Miller2013-08-28 04:03:04 +0200
commit34d5626afc39c43d63ec7781b648091e92fae45a (patch)
tree0139c0cc43a8ef4b80a59f3dd15b09892a850e2e /drivers/video/hdmi.c
parentbnx2x: vf mark stats started (diff)
downloadkernel-qcow2-linux-34d5626afc39c43d63ec7781b648091e92fae45a.tar.gz
kernel-qcow2-linux-34d5626afc39c43d63ec7781b648091e92fae45a.tar.xz
kernel-qcow2-linux-34d5626afc39c43d63ec7781b648091e92fae45a.zip
bnx2x: Fix move FP memory deallocations
If driver will fail to allocate all queues, it will shrink the number of queues and move the storage queue to its correct place (i.e., the last queue among the newly supported number). When changing the pointers of the new location of the FCoE queue, we need to pay special attention to the aggregations pointer - that memory is allocated during probe and released upon driver removal. Current implementation has 2 pointers pointing to the same chunk of allocated memory, meaning upon removal there will be two kfree() of the same chunk while the other won't be released. Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com> Signed-off-by: Ariel Elior <ariele@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/video/hdmi.c')
0 files changed, 0 insertions, 0 deletions