Skip to content
Commit 44a7b675 authored by Chuhong Yuan's avatar Chuhong Yuan Committed by Doug Ledford
Browse files

RDMA/cma: add missed unregister_pernet_subsys in init failure



The driver forgets to call unregister_pernet_subsys() in the error path
of cma_init().
Add the missed call to fix it.

Fixes: 4be74b42 ("IB/cma: Separate port allocation to network namespaces")
Signed-off-by: default avatarChuhong Yuan <hslester96@gmail.com>
Reviewed-by: default avatarParav Pandit <parav@mellanox.com>
Link: https://lore.kernel.org/r/20191206012426.12744-1-hslester96@gmail.com


Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent e42617b8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment