aboutsummaryrefslogtreecommitdiff
path: root/lib/raid6
diff options
context:
space:
mode:
authorSomnath Kotur <somnath.kotur@emulex.com>2013-12-05 12:08:16 +0530
committerDavid S. Miller <davem@davemloft.net>2013-12-06 15:03:40 -0500
commitb05004adf9d34e7fb8e96fe6a7cdeb0843f5ab35 (patch)
tree95a9a5f6e67ae6361f16f88297348c9874578231 /lib/raid6
parent4bebb56a6d50ca50a34048194877dca34f572f8f (diff)
be2net: Free/delete pmacs (in be_clear()) only if they exist
During suspend-resume and lancer error recovery we will cleanup and re-initialize the resources through be_clear() and be_setup() respectively. During re-initialisation in be_setup(), if be_get_config() fails, we'll again call be_clear() which will cause a NULL pointer dereference as adapter->pmac_id is already freed. Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com> Signed-off-by: Somnath Kotur <somnath.kotur@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/raid6')
0 files changed, 0 insertions, 0 deletions