diff options
author | 2013-12-05 12:08:16 +0530 | |
---|---|---|
committer | 2013-12-06 15:03:40 -0500 | |
commit | b05004adf9d34e7fb8e96fe6a7cdeb0843f5ab35 (patch) | |
tree | 95a9a5f6e67ae6361f16f88297348c9874578231 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | be2net: Fix Lancer error recovery to distinguish FW download (diff) | |
download | wireguard-linux-b05004adf9d34e7fb8e96fe6a7cdeb0843f5ab35.tar.xz wireguard-linux-b05004adf9d34e7fb8e96fe6a7cdeb0843f5ab35.zip |
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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions