linux-uconsole/drivers/infiniband/core
Chuhong Yuan e295e82a43 RDMA/cma: add missed unregister_pernet_subsys in init failure
[ Upstream commit 44a7b67590 ]

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

Fixes: 4be74b42a6 ("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>
2020-01-09 10:18:56 +01:00
..
addr.c RDMA: Directly cast the sockaddr union to sockaddr 2019-07-03 13:14:49 +02:00
agent.c
agent.h
cache.c
cgroup.c
cm.c
cm_msgs.h
cma.c RDMA/cma: add missed unregister_pernet_subsys in init failure 2020-01-09 10:18:56 +01:00
cma_configfs.c
cma_priv.h
core_priv.h
cq.c IB/core: Add an unbound WQ type to the new CQ API 2019-10-01 08:26:00 +02:00
device.c RDMA/core: Follow correct unregister order between sysfs and cgroup 2019-11-20 18:46:03 +01:00
fmr_pool.c
iwcm.c
iwcm.h
iwpm_msg.c
iwpm_util.c
iwpm_util.h
mad.c RDMA/core: Rate limit MAD error messages 2019-11-20 18:46:02 +01:00
mad_priv.h
mad_rmpp.c
mad_rmpp.h
Makefile
mr_pool.c
multicast.c
netlink.c
nldev.c RDMA/nldev: Don't expose unsafe global rkey to regular user 2019-01-22 21:40:34 +01:00
opa_smi.h
packer.c
rdma_core.c
rdma_core.h
restrack.c RDMA/restrack: Protect from reentry to resource return path 2019-10-01 08:25:59 +02:00
roce_gid_mgmt.c IB/core: Fix oops in netdev_next_upper_dev_rcu() 2019-01-13 09:50:57 +01:00
rw.c
sa.h
sa_query.c IB: directly cast the sockaddr union to aockaddr 2019-08-09 17:52:29 +02:00
security.c IB/core: Fix potential memory leak while creating MAD agents 2019-05-08 07:21:53 +02:00
smi.c
smi.h
sysfs.c
ucm.c
ucma.c
ud_header.c
umem.c
umem_odp.c
user_mad.c IB/core: Add mitigation for Spectre V1 2019-08-25 10:47:56 +02:00
uverbs.h RDMA/uverbs: Prevent potential underflow 2019-11-12 19:20:58 +01:00
uverbs_cmd.c
uverbs_ioctl.c
uverbs_main.c IB/uverbs: Fix OOPs upon device disassociation 2019-09-16 08:22:03 +02:00
uverbs_marshall.c
uverbs_std_types.c
uverbs_std_types_counters.c
uverbs_std_types_cq.c
uverbs_std_types_dm.c
uverbs_std_types_flow_action.c
uverbs_std_types_mr.c
uverbs_uapi.c
verbs.c IB/core: Destroy QP if XRC QP fails 2019-05-08 07:21:53 +02:00