summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi
diff options
context:
space:
mode:
authorYuval Mintz <yuvalmin@broadcom.com>2013-08-27 22:13:01 (GMT)
committerDavid S. Miller <davem@davemloft.net>2013-08-28 02:03:04 (GMT)
commit34d5626afc39c43d63ec7781b648091e92fae45a (patch)
tree0139c0cc43a8ef4b80a59f3dd15b09892a850e2e /drivers/net/wireless/iwlwifi
parentc730b170456d9139c3c1f8a9c1f91837be657d60 (diff)
downloadlinux-fsl-qoriq-34d5626afc39c43d63ec7781b648091e92fae45a.tar.xz
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/net/wireless/iwlwifi')
0 files changed, 0 insertions, 0 deletions