diff options
author | 2016-07-28 15:21:26 -0400 | |
---|---|---|
committer | 2016-08-02 22:46:21 -0400 | |
commit | 2677a7680e773195a4fdabd163d756cac1b9abd7 (patch) | |
tree | d8640d01378b5d7ffa798f00cbcd29d686d9a1d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/hfi1: Remove unneeded mm argument in remove function (diff) | |
download | wireguard-linux-2677a7680e773195a4fdabd163d756cac1b9abd7.tar.xz wireguard-linux-2677a7680e773195a4fdabd163d756cac1b9abd7.zip |
IB/hfi1: Fix memory leak during unexpected shutdown
During an unexpected shutdown, references to tid_rb_node were NULL'ed out
without properly being released.
Fix this by calling clear_tid_node in the mmu notifier remove callback
rather than after these callbacks are called.
Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions