diff options
author | 2015-10-13 15:52:06 +0300 | |
---|---|---|
committer | 2015-10-17 21:49:48 -0700 | |
commit | ff65212cc4698f532c452a14fdb94a3b1d1f283d (patch) | |
tree | 746e5a4456f6bbeed5f0d92fe20a4f49bbd1fc96 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mei: amthif: Do not compare bool to 0/1 (diff) | |
download | wireguard-linux-ff65212cc4698f532c452a14fdb94a3b1d1f283d.tar.xz wireguard-linux-ff65212cc4698f532c452a14fdb94a3b1d1f283d.zip |
misc: mic/scif: re-take a lock on error path
The caller expects that we take this lock again before returning
otherwise it you get double unlocks and races.
Fixes: ba612aa8b487 ('misc: mic: SCIF memory registration and unregistration')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Sudeep Dutt <sudeep.dutt@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions