diff options
author | Yishai Hadas <[email protected]> | 2020-02-12 09:26:32 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-02-13 09:48:17 -0400 |
commit | a8af8694a5e8ddaaef4bd7b6426c12b7759c846c (patch) | |
tree | 695a280aa57708cedd68bdd77c8f5255a85e096a /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | a0767da7774d91a668f9c223cec3e76172cd833b (diff) |
RDMA/mlx5: Fix async events cleanup flows
As in the prior patch, the devx code is not fully cleaning up its
event_lists before finishing driver_destroy allowing a later read to
trigger user after free conditions.
Re-arrange things so that the event_list is always empty after destroy and
ensure it remains empty until the file is closed.
Fixes: f7c8416ccea5 ("RDMA/core: Simplify destruction of FD uobjects")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yishai Hadas <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions