summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKalesh AP <kalesh.purayil@avagotech.com>2015-08-05 10:27:50 +0300
committerDavid S. Miller <davem@davemloft.net>2015-08-07 21:53:06 +0300
commit649886a36b5f023811321819eceaa8ba66444e3b (patch)
tree01c2c799a14784e6d060d94a360c7a4d47bcb66d /tools/perf/scripts/python/export-to-postgresql.py
parent99b44304f205a826501721d41928e87b0b9cf3b3 (diff)
downloadlinux-649886a36b5f023811321819eceaa8ba66444e3b.tar.xz
be2net: protect eqo->affinity_mask from getting freed twice
There are paths in the driver such as an unrecoverable error (UE) detection followed by a driver unload wherein be_clear() is invoked twice. Individual data structures are reset so that they are not cleaned/freed twice. This patch does the same for eqo->affinity_mask. It is freed only if EQs haven't yet been destroyed. This fixes a possible crash when affinity_mask is freed twice. Signed-off-by: Kalesh AP <kalesh.purayil@avagotech.com> Signed-off-by: Sathya Perla <sathya.perla@avagotech.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions