Files
android_kernel_xiaomi_sm8450/drivers/infiniband/core
Ariel Levkovich 54e7e48b13 IB/uverbs: Fix kernel crash during MR deregistration flow
This patch fixes a crash that happens due to access to an
uninitialized DM pointer within the MR object.

The change makes sure the DM pointer in the MR object is set to
NULL during a non-DM MR creation to prevent a false indication
that this MR is related to a DM in the dereg flow.

Fixes: be934cca9e ("IB/uverbs: Add device memory registration ioctl support")
Reported-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Ariel Levkovich <lariel@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2018-04-27 14:22:24 -04:00
..
2015-06-12 14:49:18 -04:00
2015-05-05 13:21:27 -04:00
2016-01-19 15:25:45 -05:00
2008-07-14 23:48:44 -07:00
2016-05-13 13:37:18 -04:00
2016-03-03 10:20:25 -05:00
2018-02-28 12:55:03 -07:00
2017-08-31 08:35:09 -04:00
2018-03-29 13:42:29 -06:00
2016-03-03 10:20:25 -05:00
2017-12-18 15:37:06 -07:00