diff options
author | Pan Bian <bianpan2016@163.com> | 2019-11-06 14:23:54 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-11-14 11:47:18 -0400 |
commit | 960657b732e1ce21b07be5ab48a7ad3913d72ba4 (patch) | |
tree | 6b0adb27c2b70b6ed23ba5d52bb5cd28277cbc8c /lib/clz_tab.c | |
parent | e88982ad1bb12db699de96fbc07096359ef6176c (diff) |
RDMA/qedr: Fix potential use after free
Move the release operation after error log to avoid possible use after
free.
Link: https://lore.kernel.org/r/1573021434-18768-1-git-send-email-bianpan2016@163.com
Signed-off-by: Pan Bian <bianpan2016@163.com>
Acked-by: Michal KalderonĀ <michal.kalderon@marvell.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'lib/clz_tab.c')
0 files changed, 0 insertions, 0 deletions