diff options
| author | Chuhong Yuan <hslester96@gmail.com> | 2019-12-06 09:24:26 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-12 11:22:37 +0100 |
| commit | 3a0618dd3f3532eb0ee3ff7bbb6cdbbfcfa9c438 (patch) | |
| tree | 545c3d6f7a4d8512f22e53aa39be3a4f2c68a95b /include/linux/timerqueue.h | |
| parent | c7afc27fd963e88f927c992739a5bb5e7b4ac249 (diff) | |
RDMA/cma: add missed unregister_pernet_subsys in init failure
[ Upstream commit 44a7b6759000ac51b92715579a7bba9e3f9245c2 ]
The driver forgets to call unregister_pernet_subsys() in the error path
of cma_init().
Add the missed call to fix it.
Fixes: 4be74b42a6d0 ("IB/cma: Separate port allocation to network namespaces")
Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Link: https://lore.kernel.org/r/20191206012426.12744-1-hslester96@gmail.com
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
