summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qib/qib_ud.c
diff options
context:
space:
mode:
authorMoshe Lazer2015-02-05 12:53:52 +0100
committerRoland Dreier2015-02-18 07:06:42 +0100
commit0fb8bcf022f19a375d7c4bd79ac513da8ae6d78b (patch)
tree93ae49f2d4030a880055fd2392119fec22068dfb /drivers/infiniband/hw/qib/qib_ud.c
parentIB/core: When marshaling ucma path from user-space, clear unused fields (diff)
downloadkernel-qcow2-linux-0fb8bcf022f19a375d7c4bd79ac513da8ae6d78b.tar.gz
kernel-qcow2-linux-0fb8bcf022f19a375d7c4bd79ac513da8ae6d78b.tar.xz
kernel-qcow2-linux-0fb8bcf022f19a375d7c4bd79ac513da8ae6d78b.zip
IB/core: Fix deadlock on uverbs modify_qp error flow
The deadlock occurs in __uverbs_modify_qp: we take a lock (idr_read_qp) and in case of failure in ib_resolve_eth_l2_attrs we don't release it (put_qp_read). Fix that. Fixes: ed4c54e5b4ba ("IB/core: Resolve Ethernet L2 addresses when modifying QP") Signed-off-by: Moshe Lazer <moshel@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_ud.c')
0 files changed, 0 insertions, 0 deletions